about summary refs log tree commit homepage
path: root/test/test_last_data_recv_unicorn.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_last_data_recv_unicorn.rb')
-rw-r--r--test/test_last_data_recv_unicorn.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_last_data_recv_unicorn.rb b/test/test_last_data_recv_unicorn.rb
index 7f06c85..ca48715 100644
--- a/test/test_last_data_recv_unicorn.rb
+++ b/test/test_last_data_recv_unicorn.rb
@@ -40,7 +40,7 @@ class TestLastDataRecvUnicorn < Test::Unit::TestCase
       end.to_app!
       def app.arity; 0; end
       def app.call; eval self; end
-      Unicorn.run(app, @opts)
+      Unicorn::HttpServer.new(app, @opts).start.join
     }
     400.times { assert_kind_of Net::HTTPSuccess, get("/") }
     resp = get("/ldr")