]> git.openstreetmap.org Git - rails.git/blobdiff - test/integration/user_creation_test.rb
Extract the hostip.info stubbing into a common method.
[rails.git] / test / integration / user_creation_test.rb
index d999b5fb5cd36db29c91dd95e6c4559266081f40..cdf4fcfe9cffafb1d924a7286dc34a6d7851a556 100644 (file)
@@ -7,6 +7,8 @@ class UserCreationTest < ActionDispatch::IntegrationTest
     I18n.locale = "en"
 
     OmniAuth.config.test_mode = true
+
+    stub_request(:get, /.*gravatar.com.*d=404/).to_return(:status => 404)
   end
 
   def teardown