Merge pull request #4462 from spohlenz/fix-routing-tests

Stub ip method of alternative request class in router tests
This commit is contained in:
Aaron Patterson 2012-01-16 09:16:03 -08:00
commit f84478f46e

@ -524,6 +524,10 @@ def request_method
"GET"
end
def ip
"127.0.0.1"
end
def x_header
@env["HTTP_X_HEADER"] || ""
end