Commit b755753c authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'qa-fix-broken-pathing' into 'master'

fix broken pathing (remove extraneous ../)

See merge request gitlab-org/gitlab-ce!21318
parents cbdd306c c147c3ef
......@@ -28,7 +28,7 @@ module QA
if rspec_options.any?
rspec_options
else
File.expand_path('../../specs/features', __dir__)
::File.expand_path('../specs/features', __dir__)
end
end
end
......
......@@ -24,7 +24,7 @@ describe QA::Scenario::Test::Instance::All do
subject.perform("test")
expect(runner).to have_received(:options=)
.with(::File.expand_path('../../../../../qa/specs/features', __dir__))
.with(::File.expand_path('../../../../qa/specs/features', __dir__))
end
end
......
......@@ -30,7 +30,7 @@ describe QA::Scenario::Test::Instance::Smoke do
subject.perform("test")
expect(runner).to have_received(:options=)
.with(File.expand_path('../../../../../qa/specs/features', __dir__))
.with(::File.expand_path('../../../../qa/specs/features', __dir__))
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment