fixes wrongly used call to `Socket#shutdown`
This commit is contained in:
parent
e442150a6a
commit
6a4143c267
|
@ -141,7 +141,9 @@ describe Capybara::Driver::Webkit::Browser do
|
|||
|
||||
after do
|
||||
@proxy.kill
|
||||
@server.shutdown
|
||||
# workaround for ENOTCONN error triggered by `shutdown` on some platforms
|
||||
@server.shutdown rescue Errno::ENOTCONN nil
|
||||
@server.close
|
||||
end
|
||||
|
||||
it 'uses the HTTP proxy correctly' do
|
||||
|
|
Loading…
Reference in New Issue