Skip to content

Commit

Permalink
fixes wrongly used call to Socket#shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasb authored and halogenandtoast committed Oct 14, 2011
1 parent e442150 commit 6a4143c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/browser_spec.rb
Expand Up @@ -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
Expand Down

0 comments on commit 6a4143c

Please sign in to comment.