about summary refs log tree commit homepage
path: root/test/unit/test_ws.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/test_ws.rb')
-rw-r--r--test/unit/test_ws.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/test_ws.rb b/test/unit/test_ws.rb
index 3385e0a..d239e18 100644
--- a/test/unit/test_ws.rb
+++ b/test/unit/test_ws.rb
@@ -4,7 +4,7 @@
 # Additional work donated by contributors.  See http://mongrel.rubyforge.org/attributions.html
 # for more information.
 
-require 'test/test_helper'
+require 'test/testhelp'
 
 include Mongrel
 
@@ -94,7 +94,7 @@ class WebServerTest < Test::Unit::TestCase
 
   def test_num_processors_overload
     redirect_test_io do
-      assert_raises Errno::ECONNRESET, Errno::EPIPE, Errno::ECONNABORTED, Errno::EINVAL do
+      assert_raises Errno::ECONNRESET, Errno::EPIPE, Errno::ECONNABORTED, Errno::EINVAL, IOError do
         tests = [
           Thread.new { do_test(@valid_request, 1) },
           Thread.new { do_test(@valid_request, 10) },