Skip to content

Commit 134aa67

Browse files
committed
[rb] update unit test to include correct server port
1 parent cc85374 commit 134aa67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rb/spec/unit/selenium/server_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ module Selenium
206206

207207
it 'sets options after instantiation' do
208208
allow(File).to receive(:exist?).with('selenium_server_deploy.jar').and_return(true)
209-
server = described_class.new('selenium_server_deploy.jar')
209+
server = described_class.new('selenium_server_deploy.jar', port: port)
210210
expect(server.port).to eq(port)
211211
expect(server.timeout).to eq(30)
212212
expect(server.background).to be false

0 commit comments

Comments
 (0)