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/test_helper.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/test_helper.rb')
-rw-r--r-- | test/test_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb index ab97a9f..21d9e81 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -22,7 +22,7 @@ require 'stringio' require 'pp' require 'rubygems' -require 'mongrel' +require 'unicorn' if ENV['DEBUG'] require 'ruby-debug' @@ -71,7 +71,7 @@ end # process_based_port provides a port number, usable for TCP and UDP # connections based on $$ and with a 5000 as base. -# this is required if you perform several builds of mongrel in parallel +# this is required if you perform several builds of unicorn in parallel # (like continuous integration systems) def process_based_port 5000 + $$ % 1000 |