]> git.openstreetmap.org Git - rails.git/blobdiff - test/integration/oauth_test.rb
Extract the hostip.info stubbing into a common method.
[rails.git] / test / integration / oauth_test.rb
index 62eab0deed18d95b291a09b1d1148fa206f6d4a3..e3ca535206749b860cb7e1d4890aef9580b5629d 100644 (file)
@@ -7,7 +7,7 @@ class OAuthTest < ActionDispatch::IntegrationTest
   include OAuth::Helper
 
   setup do
   include OAuth::Helper
 
   setup do
-    stub_request(:get, "http://api.hostip.info/country.php?ip=127.0.0.1")
+    stub_signup_requests
   end
 
   def test_oauth10_web_app
   end
 
   def test_oauth10_web_app