about summary refs log tree commit homepage
path: root/test
diff options
context:
space:
mode:
authorevanweaver <evanweaver@19e92222-5c0b-0410-8929-a290d50e31e9>2008-02-23 20:16:17 +0000
committerevanweaver <evanweaver@19e92222-5c0b-0410-8929-a290d50e31e9>2008-02-23 20:16:17 +0000
commite02fa9500e93da977c77cc3a8c421b20c8f7a5d9 (patch)
tree8a37aa024336f1622584391f96c180580a0e4254 /test
parent4cb24e9017c368c8e68edab5ca694b29a8ccdad4 (diff)
downloadunicorn-e02fa9500e93da977c77cc3a8c421b20c8f7a5d9.tar.gz
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/branches/stable_1-2@981 19e92222-5c0b-0410-8929-a290d50e31e9
Diffstat (limited to 'test')
-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) },