Skip to content

Commit 82caee4

Browse files
committed
Simplifying test and fixing formatting issue
1 parent b2bd960 commit 82caee4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

rb/spec/unit/selenium/webdriver/firefox/service_spec.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,7 @@ module Firefox
8181
service = described_class.new
8282
ws_index = service.extra_args.index('--websocket-port')
8383
port = service.extra_args[ws_index + 1].to_i
84-
expect(port).to be > 0
85-
expect(port).to be < 65_536
84+
expect(port).to be.positive?
8685
end
8786

8887
context 'with connect existing' do

0 commit comments

Comments
 (0)