test_helper: unused_port rejects 8080 unconditionally
commit65717ecbab432f4acd093d2efefd52bce66409d8
authorEric Wong <normalperson@yhbt.net>
Fri, 2 Oct 2009 20:35:29 +0000 (2 13:35 -0700)
committerEric Wong <normalperson@yhbt.net>
Fri, 2 Oct 2009 20:35:29 +0000 (2 13:35 -0700)
tree8c61186117b5db4858dd91a0048d66ac804c8f5b
parentcc6ffaf42307ab3bd072c58bd492fb5c5204e687
test_helper: unused_port rejects 8080 unconditionally

Checking for addr to match the DEFAULT_HOST constant
is wrong since having only 127.0.0.1:8080 will still
prevent 0.0.0.0:8080 from being bound.
test/test_helper.rb