diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-02-04 14:30:40 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-02-09 19:50:36 -0800 |
commit | 28d571b7cca709641d964e00e6004facb6bfcc7e (patch) | |
tree | ed260a408088db92adb190d2b9eddaa6be8ab580 /test/unit/test_server.rb | |
parent | 66254b6f2b0ebb3899413b12d96614ac9318daae (diff) | |
download | unicorn-28d571b7cca709641d964e00e6004facb6bfcc7e.tar.gz |
Avoid conflicting with existing Mongrel libraries since we'll be incompatible and break things w/o disrupting Mongrel installations.
Diffstat (limited to 'test/unit/test_server.rb')
-rw-r--r-- | test/unit/test_server.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/unit/test_server.rb b/test/unit/test_server.rb index 4ce728d..f5043b8 100644 --- a/test/unit/test_server.rb +++ b/test/unit/test_server.rb @@ -1,12 +1,12 @@ # Copyright (c) 2005 Zed A. Shaw # You can redistribute it and/or modify it under the same terms as Ruby. # -# Additional work donated by contributors. See http://mongrel.rubyforge.org/attributions.html +# Additional work donated by contributors. See http://mongrel.rubyforge.org/attributions.html # for more information. require 'test/test_helper' -include Mongrel +include Unicorn class TestHandler attr_reader :ran_test @@ -104,9 +104,9 @@ class WebServerTest < Test::Unit::TestCase end def test_file_streamed_request - body = "a" * (Mongrel::Const::MAX_BODY * 2) + body = "a" * (Unicorn::Const::MAX_BODY * 2) long = "GET /test HTTP/1.1\r\nContent-length: #{body.length}\r\n\r\n" + body - do_test(long, Mongrel::Const::CHUNK_SIZE * 2 -400) + do_test(long, Unicorn::Const::CHUNK_SIZE * 2 -400) end end |