Skip to content

Commit

Permalink
Add validation after setting options.
Browse files Browse the repository at this point in the history
  • Loading branch information
Masayuki Hokimoto authored and p0deje committed May 27, 2019
1 parent abf2219 commit 32fd138
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions rb/spec/unit/selenium/server_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,13 @@ module Selenium
server.timeout = 5
server.background = true
server.log = '/tmp/server.log'

aggregate_failures do
expect(server.port).to eq(1234)
expect(server.timeout).to eq(5)
expect(server.background).to be_truthy
expect(server.log).to eq('/tmp/server.log')
end
end
end
end # Selenium

0 comments on commit 32fd138

Please sign in to comment.