]> git.openstreetmap.org Git - rails.git/blobdiff - test/integration/page_locale_test.rb
Extract the hostip.info stubbing into a common method.
[rails.git] / test / integration / page_locale_test.rb
index 60255f66c3849f8bfb2d9c09f316bd05c8f2f6e1..ee1f89afa23cc4918e5cde3023c99f179643ce52 100644 (file)
@@ -5,7 +5,7 @@ class PageLocaleTest < ActionDispatch::IntegrationTest
 
   def setup
     I18n.locale = "en"
-    stub_request(:get, "http://api.hostip.info/country.php?ip=127.0.0.1")
+    stub_signup_requests
   end
 
   def teardown