]> git.openstreetmap.org Git - rails.git/blobdiff - test/test_helper.rb
Rename stub_signup_requests to stub_hostip_requests
[rails.git] / test / test_helper.rb
index 5f52bb135413deaa37bdd1b386e0e8227a3a5014..88cfe4831150440f4b67c2af6c41a61965768521 100644 (file)
@@ -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")