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
path: root/qa/spec
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2018-01-31 19:30:06 +0300
committerRobert Speicher <rspeicher@gmail.com>2018-02-06 21:34:45 +0300
commitbf0ec00996c37992e101fd4348f205a3ce851f6c (patch)
tree03398e37a67ae7ffa7107701744cd83952b46690 /qa/spec
parent7095c2bf4064911568ae1574752adbc066c5347d (diff)
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.rb3
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