From 134aa673822cd97c75e53e4b35deac87ae737cf9 Mon Sep 17 00:00:00 2001 From: titusfortner Date: Mon, 22 Jan 2024 14:05:16 -0600 Subject: [PATCH] [rb] update unit test to include correct server port --- rb/spec/unit/selenium/server_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rb/spec/unit/selenium/server_spec.rb b/rb/spec/unit/selenium/server_spec.rb index 8f131ce5abebf..98ac3789dbfe0 100644 --- a/rb/spec/unit/selenium/server_spec.rb +++ b/rb/spec/unit/selenium/server_spec.rb @@ -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