X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2f722fc281434ef59e19c504bff9e748e9d3f4b4..0e6d4f18dabf9ccf00567886d8e373dbef1f6966:/test/test_helper.rb?ds=sidebyside diff --git a/test/test_helper.rb b/test/test_helper.rb index 5f52bb135..88cfe4831 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -175,7 +175,7 @@ module ActiveSupport stub_request(:get, url).and_return(:status => status, :body => body) end - def stub_signup_requests + def stub_hostip_requests # Controller tests and integration tests use different IPs stub_request(:get, "http://api.hostip.info/country.php?ip=0.0.0.0") stub_request(:get, "http://api.hostip.info/country.php?ip=127.0.0.1")