]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/site_controller_test.rb
Merge remote-tracking branch 'openstreetmap/pull/1395'
[rails.git] / test / controllers / site_controller_test.rb
index 71ccc4e515fb7fdd9b77be24a8cd39755d7ae978..d559760afdb5f4fda9c840a509779583150d424c 100644 (file)
@@ -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
 
   ##