]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/user_controller_test.rb
Use 'def setup' instead of 'setup do', for consistency
[rails.git] / test / controllers / user_controller_test.rb
index eb57e2689c7c059f5b88742a7c6c3104ca9ebc1d..e549ec90a07c9b5d4502dddd81814c7a8bfaac69 100644 (file)
@@ -3,8 +3,8 @@ require "test_helper"
 class UserControllerTest < ActionController::TestCase
   api_fixtures
 
-  setup do
-    stub_request(:get, "http://api.hostip.info/country.php?ip=0.0.0.0")
+  def setup
+    stub_signup_requests
   end
 
   ##