Skip to content

Commit aa03bff

Browse files
author
Gregg Van Hove
committed
Also update the specs...
1 parent d5965f2 commit aa03bff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/jasmine_selenium_runner/configure_jasmine_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def make_runner
9494
before do
9595
allow(Selenium::WebDriver).to receive(:for) { mock_driver }
9696
allow(Jasmine::Runners::Selenium).to receive(:new)
97-
allow(JasmineSeleniumRunner::SauceConnectConfigurer).to receive(:config).and_yield(sauce_config)
97+
allow(JasmineSeleniumRunner::SauceConnectConfigurer).to receive(:configure).and_yield(sauce_config)
9898
end
9999

100100
let(:sauce_thing) { double(:sauce_thing) }
@@ -121,7 +121,7 @@ def make_runner
121121

122122
runner.make_runner
123123

124-
expect(JasmineSeleniumRunner::SauceConnectConfigurer).not_to have_received(:config)
124+
expect(JasmineSeleniumRunner::SauceConnectConfigurer).not_to have_received(:configure)
125125
expect(Selenium::WebDriver).to have_received(:for).with(:remote,
126126
:url => 'http://sauce_user:sauce_key@localhost:4445/wd/hub',
127127
:desired_capabilities => {
@@ -156,7 +156,7 @@ def make_runner
156156

157157
runner.make_runner
158158

159-
expect(JasmineSeleniumRunner::SauceConnectConfigurer).to have_received(:config)
159+
expect(JasmineSeleniumRunner::SauceConnectConfigurer).to have_received(:configure)
160160
expect(sauce_config).to have_received(:[]=).with(:sauce_connect_4_executable, '/path/to/sc')
161161
expect(Selenium::WebDriver).to have_received(:for).with(:remote,
162162
:url => 'http://sauce_user:sauce_key@localhost:4445/wd/hub',

0 commit comments

Comments
 (0)