diff --git a/spec/browser_spec.rb b/spec/browser_spec.rb index 62a5093..6178667 100644 --- a/spec/browser_spec.rb +++ b/spec/browser_spec.rb @@ -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