diff options
author | Robert Speicher <rspeicher@gmail.com> | 2018-01-31 10:30:06 -0600 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2018-02-06 12:34:45 -0600 |
commit | bf0ec00996c37992e101fd4348f205a3ce851f6c (patch) | |
tree | 03398e37a67ae7ffa7107701744cd83952b46690 /qa/spec | |
parent | 7095c2bf4064911568ae1574752adbc066c5347d (diff) | |
download | gitlab-ce-bf0ec00996c37992e101fd4348f205a3ce851f6c.tar.gz |
Expand QA spec file paths to allow running bin/qa from anywhere
Diffstat (limited to 'qa/spec')
-rw-r--r-- | qa/spec/scenario/test/instance_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qa/spec/scenario/test/instance_spec.rb b/qa/spec/scenario/test/instance_spec.rb index 1824db54c9b..bd09c28e924 100644 --- a/qa/spec/scenario/test/instance_spec.rb +++ b/qa/spec/scenario/test/instance_spec.rb @@ -29,7 +29,8 @@ describe QA::Scenario::Test::Instance do it 'should call runner with default arguments' do subject.perform("test") - expect(runner).to have_received(:files=).with('qa/specs/features') + expect(runner).to have_received(:files=) + .with(File.expand_path('../../../qa/specs/features', __dir__)) end end |