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
|
@ -12,8 +12,7 @@ describe Capybara::Driver::Webkit::Browser do
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'returns a port in the allowed range' do
|
it 'returns a port in the allowed range' do
|
||||||
should > 0x400
|
should be_between 0x400, 0xffff
|
||||||
should < 0xffff
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue