]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/user_controller_test.rb
Extract the hostip.info stubbing into a common method.
[rails.git] / test / controllers / user_controller_test.rb
index eb57e2689c7c059f5b88742a7c6c3104ca9ebc1d..1b9ada83b9f264e913272cd9198665627f34cff1 100644 (file)
@@ -4,7 +4,7 @@ class UserControllerTest < ActionController::TestCase
   api_fixtures
 
   setup do
-    stub_request(:get, "http://api.hostip.info/country.php?ip=0.0.0.0")
+    stub_signup_requests
   end
 
   ##