about summary refs log tree commit homepage
path: root/test/test_middleware_unicorn.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-09-27 19:50:43 -0700
committerEric Wong <normalperson@yhbt.net>2011-09-27 19:51:19 -0700
commit26d775916fd3d967a98534eda44a983ea30d0811 (patch)
treeeb1a59e62bc2c56cd63a03fa8b4b3969d6f28e88 /test/test_middleware_unicorn.rb
parente974e26fcfb78cd579556495a0635d30ec5c6976 (diff)
downloadraindrops-26d775916fd3d967a98534eda44a983ea30d0811.tar.gz
Unicorn.run no longer exists
Diffstat (limited to 'test/test_middleware_unicorn.rb')
-rw-r--r--test/test_middleware_unicorn.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_middleware_unicorn.rb b/test/test_middleware_unicorn.rb
index 805c559..6730d4b 100644
--- a/test/test_middleware_unicorn.rb
+++ b/test/test_middleware_unicorn.rb
@@ -19,7 +19,7 @@ class TestMiddlewareUnicorn < Test::Unit::TestCase
       use Raindrops::Middleware
       run Rack::Lobster.new
     end
-    @srv = fork { Unicorn.run(@app, @opts) }
+    @srv = fork { Unicorn::HttpServer.new(@app, @opts).start.join }
 
     s = TCPSocket.new @host, @port
     s.write "GET /_raindrops HTTP/1.0\r\n\r\n"