summaryrefslogtreecommitdiff
path: root/qa/spec/scenario/test
diff options
context:
space:
mode:
authorBrett Walker <bwalker@gitlab.com>2018-03-26 13:29:45 +0200
committerBrett Walker <bwalker@gitlab.com>2018-03-26 13:29:45 +0200
commit2df7d86462a1b32ac123163da12b1860584463c0 (patch)
tree93bbe2ca6c8a2e930ec409df73bfcf03d4a348d8 /qa/spec/scenario/test
parent545d52ce6ca1b296230b20cd2b219919ae38007b (diff)
downloadgitlab-ce-bw-qa-rspec-options.tar.gz
allow rspec files/options to be passed down in all casesbw-qa-rspec-options
Diffstat (limited to 'qa/spec/scenario/test')
-rw-r--r--qa/spec/scenario/test/instance_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/spec/scenario/test/instance_spec.rb b/qa/spec/scenario/test/instance_spec.rb
index bd09c28e924..a74a9538be8 100644
--- a/qa/spec/scenario/test/instance_spec.rb
+++ b/qa/spec/scenario/test/instance_spec.rb
@@ -29,7 +29,7 @@ describe QA::Scenario::Test::Instance do
it 'should call runner with default arguments' do
subject.perform("test")
- expect(runner).to have_received(:files=)
+ expect(runner).to have_received(:options=)
.with(File.expand_path('../../../qa/specs/features', __dir__))
end
end
@@ -38,7 +38,7 @@ describe QA::Scenario::Test::Instance do
it 'should call runner with paths' do
subject.perform('test', 'path1', 'path2')
- expect(runner).to have_received(:files=).with(%w[path1 path2])
+ expect(runner).to have_received(:options=).with(%w[path1 path2])
end
end
end