diff options
author | Ian Ownbey <imownbey@gmail.com> | 2008-11-22 17:48:36 -0800 |
---|---|---|
committer | Ian Ownbey <imownbey@gmail.com> | 2008-11-22 17:48:36 -0800 |
commit | a59c388dd518d0b0ff85d0621d3406fcc23d6173 (patch) | |
tree | 90113ccbbe60f690ecc4ff91ce867f68b346d0dd /test/unit/test_ws.rb | |
parent | e25b558ba8d2d6812d490b365539c2a7bf219e12 (diff) | |
download | unicorn-a59c388dd518d0b0ff85d0621d3406fcc23d6173.tar.gz |
Diffstat (limited to 'test/unit/test_ws.rb')
-rw-r--r-- | test/unit/test_ws.rb | 6 |
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 |