fixes wrongly used call to `Socket#shutdown`

This commit is contained in:
Niklas Baumstark 2011-10-14 19:38:12 +02:00 committed by Matthew Mongeau
parent e442150a6a
commit 6a4143c267
1 changed files with 3 additions and 1 deletions

View File

@ -141,7 +141,9 @@ describe Capybara::Driver::Webkit::Browser do
after do after do
@proxy.kill @proxy.kill
@server.shutdown # workaround for ENOTCONN error triggered by `shutdown` on some platforms
@server.shutdown rescue Errno::ENOTCONN nil
@server.close
end end
it 'uses the HTTP proxy correctly' do it 'uses the HTTP proxy correctly' do