about summary refs log tree commit homepage
path: root/test/test_last_data_recv_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_last_data_recv_unicorn.rb
parente974e26fcfb78cd579556495a0635d30ec5c6976 (diff)
downloadraindrops-26d775916fd3d967a98534eda44a983ea30d0811.tar.gz
Unicorn.run no longer exists
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")