1
0
Fork 0
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:
John Barker 2011-07-06 20:36:30 +08:00
parent 3d39b59071
commit 88d4a6aa65

View file

@ -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