1
0
Fork 0
mirror of https://github.com/thoughtbot/capybara-webkit synced 2023-03-27 23:22:28 -04:00

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

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