Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixes wrongly used call to `Socket#shutdown`

  • Loading branch information...
commit 6a4143c267b2af211a99e5297849f21638af9b29 1 parent e442150
@niklasb niklasb authored halogenandtoast committed
Showing with 3 additions and 1 deletion.
  1. +3 −1 spec/browser_spec.rb
View
4 spec/browser_spec.rb
@@ -141,7 +141,9 @@
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

0 comments on commit 6a4143c

Please sign in to comment.
Something went wrong with that request. Please try again.