mirror of
https://github.com/thoughtbot/capybara-webkit
synced 2023-03-27 23:22:28 -04:00
Use neater be_between which is also inclusive, since 1024 is unprivileged and 65535 is valid
This commit is contained in:
parent
3d39b59071
commit
88d4a6aa65
1 changed files with 1 additions and 2 deletions
|
@ -12,8 +12,7 @@ describe Capybara::Driver::Webkit::Browser do
|
|||
end
|
||||
|
||||
it 'returns a port in the allowed range' do
|
||||
should > 0x400
|
||||
should < 0xffff
|
||||
should be_between 0x400, 0xffff
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue