Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'qa/spec/runtime/script_extensions/interceptor_spec.rb')
-rw-r--r--qa/spec/runtime/script_extensions/interceptor_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/spec/runtime/script_extensions/interceptor_spec.rb b/qa/spec/runtime/script_extensions/interceptor_spec.rb
index 28e8007973c..d7835b28071 100644
--- a/qa/spec/runtime/script_extensions/interceptor_spec.rb
+++ b/qa/spec/runtime/script_extensions/interceptor_spec.rb
@@ -3,7 +3,7 @@
RSpec.describe 'Interceptor' do
let(:browser) { Capybara.current_session }
# need a real host for the js runtime
- let(:url) { "file://#{__dir__}/../../../qa/fixtures/script_extensions/test.html" }
+ let(:url) { "file://#{File.join(Runtime::Path.fixtures_path, 'script_extensions', 'test.html')}" }
before(:context) do
skip 'Only can test for chrome' unless QA::Runtime::Env.can_intercept?