Skip to content

Commit 360c7b6

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +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.positive?
84+
expect(port).to be_positive
8585
end
8686

8787
context 'with connect existing' do

0 commit comments

Comments
 (0)