Skip to content
Browse files

fixes wrongly used call to `Socket#shutdown`

refs #176
  • Loading branch information...
1 parent 3b872c6 commit a0d4a21fd3fec5441e257c62030e46d47f20af56 @niklasb niklasb committed with halogenandtoast
Showing with 3 additions and 1 deletion.
  1. +3 −1 spec/browser_spec.rb
4 spec/browser_spec.rb
@@ -68,7 +68,9 @@
after do
- @server.shutdown
+ # workaround for ENOTCONN error triggered by `shutdown` on some platforms
+ @server.shutdown rescue Errno::ENOTCONN nil
+ @server.close
it "doesn't accept a self-signed certificate by default" do

0 comments on commit a0d4a21

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