X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/d3d6e9902c8b03fcd31df253cf395f06f757880a..970e1a99d7dce64f0631e88c5b9f060fb48d75fe:/test/controllers/site_controller_test.rb diff --git a/test/controllers/site_controller_test.rb b/test/controllers/site_controller_test.rb index 71ccc4e51..d559760af 100644 --- a/test/controllers/site_controller_test.rb +++ b/test/controllers/site_controller_test.rb @@ -9,7 +9,7 @@ class SiteControllerTest < ActionController::TestCase Object.const_set("ID_KEY", client_applications(:oauth_web_app).key) Object.const_set("POTLATCH2_KEY", client_applications(:oauth_web_app).key) - stub_request(:get, "http://api.hostip.info/country.php?ip=0.0.0.0") + stub_hostip_requests end ##