Commit c147c3ef authored by Dan Davison's avatar Dan Davison Committed by Rémy Coutable

fix broken pathing (remove extraneous ../)

parent cbdd306c
......@@ -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