]> git.openstreetmap.org Git - rails.git/blobdiff - test/integration/user_terms_seen_test.rb
Extract the hostip.info stubbing into a common method.
[rails.git] / test / integration / user_terms_seen_test.rb
index 596cccc43d79ed9222343898e1376a6bcc23a413..d4d7450fb545eeb994203917741cb70091d623b8 100644 (file)
@@ -4,7 +4,7 @@ class UserTermsSeenTest < ActionDispatch::IntegrationTest
   fixtures :users
 
   setup do
-    stub_request(:get, "http://api.hostip.info/country.php?ip=127.0.0.1")
+    stub_signup_requests
   end
 
   def test_api_blocked