about summary refs log tree commit homepage
path: root/test
diff options
context:
space:
mode:
authorIan Ownbey <imownbey@gmail.com>2008-11-22 17:48:36 -0800
committerIan Ownbey <imownbey@gmail.com>2008-11-22 17:48:36 -0800
commita59c388dd518d0b0ff85d0621d3406fcc23d6173 (patch)
tree90113ccbbe60f690ecc4ff91ce867f68b346d0dd /test
parente25b558ba8d2d6812d490b365539c2a7bf219e12 (diff)
downloadunicorn-a59c388dd518d0b0ff85d0621d3406fcc23d6173.tar.gz
Diffstat (limited to 'test')
-rw-r--r--test/unit/test_ws.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/unit/test_ws.rb b/test/unit/test_ws.rb
index 036752a..7508c7f 100644
--- a/test/unit/test_ws.rb
+++ b/test/unit/test_ws.rb
@@ -29,11 +29,7 @@ class WebServerTest < Test::Unit::TestCase
     redirect_test_io do
       # We set num_processors=1 so that we can test the reaping code
       @server = HttpServer.new("127.0.0.1", @port, @app, :num_processors => 1)
-    end
-    
-    @server.register("/test", @tester)
-    redirect_test_io do
-      @server.run
+      @server.start!
     end
   end