fixes wrongly used call to `Socket#shutdown`

refs #176
This commit is contained in:
Niklas Baumstark 2011-10-14 19:40:14 +02:00 committed by Matthew Mongeau
parent 3b872c617b
commit a0d4a21fd3
1 changed files with 3 additions and 1 deletions

View File

@ -68,7 +68,9 @@ describe Capybara::Driver::Webkit::Browser do
after do
@server_thread.kill
@server.shutdown
# workaround for ENOTCONN error triggered by `shutdown` on some platforms
@server.shutdown rescue Errno::ENOTCONN nil
@server.close
end
it "doesn't accept a self-signed certificate by default" do