]> git.openstreetmap.org Git - rails.git/commitdiff
Use 'def setup' instead of 'setup do', for consistency
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 9 Nov 2016 16:04:35 +0000 (16:04 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 9 Nov 2016 16:05:28 +0000 (16:05 +0000)
test/controllers/user_controller_test.rb

index 1b9ada83b9f264e913272cd9198665627f34cff1..e549ec90a07c9b5d4502dddd81814c7a8bfaac69 100644 (file)
@@ -3,7 +3,7 @@ require "test_helper"
 class UserControllerTest < ActionController::TestCase
   api_fixtures
 
-  setup do
+  def setup
     stub_signup_requests
   end