Permalink
Browse files

Silence WEBrick logging.

  • Loading branch information...
1 parent bca4e49 commit 5c29c889695a2bc65cde1fecbc0ad095c3231076 @myronmarston committed Jul 6, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/support/vcr_localhost_server.rb
@@ -16,7 +16,7 @@ def boot
pid = Process.fork do
trap(:INT) { Rack::Handler::WEBrick.shutdown }
- Rack::Handler::WEBrick.run(Identify.new(@app), :Port => port, :AccessLog => [])
+ Rack::Handler::WEBrick.run(Identify.new(@app), :Port => port, :AccessLog => [], :Logger => WEBrick::BasicLog.new(StringIO.new))
exit # manually exit; otherwise this sub-process will re-run the specs that haven't run yet.
end
Capybara.log "checking if application has booted"

0 comments on commit 5c29c88

Please sign in to comment.