Skip to content

Commit

Permalink
[rb] update unit test to include correct server port
Browse files Browse the repository at this point in the history
  • Loading branch information
titusfortner committed Jan 22, 2024
1 parent cc85374 commit 134aa67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rb/spec/unit/selenium/server_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ module Selenium

it 'sets options after instantiation' do
allow(File).to receive(:exist?).with('selenium_server_deploy.jar').and_return(true)
server = described_class.new('selenium_server_deploy.jar')
server = described_class.new('selenium_server_deploy.jar', port: port)
expect(server.port).to eq(port)
expect(server.timeout).to eq(30)
expect(server.background).to be false
Expand Down

0 comments on commit 134aa67

Please # to comment.