Skip to content
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.

Commit

Permalink
fixes wrongly used call to Socket#shutdown
Browse files Browse the repository at this point in the history
refs #176
  • Loading branch information
niklasb authored and halogenandtoast committed Oct 14, 2011
1 parent 3b872c6 commit a0d4a21
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/browser_spec.rb
Expand Up @@ -68,7 +68,9 @@

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
Expand Down

0 comments on commit a0d4a21

Please sign in to comment.