diff options
author | Brett Walker <bwalker@gitlab.com> | 2018-03-26 13:29:45 +0200 |
---|---|---|
committer | Brett Walker <bwalker@gitlab.com> | 2018-03-28 13:50:55 +0200 |
commit | dca785e56a349d2375336def3cd0141029ffc4f8 (patch) | |
tree | 22a4d35463d0b2941791f8e4ec94e71a59065f5a /qa/spec | |
parent | cb94afc561c08db1b2312020e9d0a3e2f5837494 (diff) | |
download | gitlab-ce-dca785e56a349d2375336def3cd0141029ffc4f8.tar.gz |
allow rspec files/options to be passed down in all cases
Diffstat (limited to 'qa/spec')
-rw-r--r-- | qa/spec/scenario/test/instance_spec.rb | 4 |
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 |