From: Tom Hughes Date: Wed, 9 Nov 2016 20:33:55 +0000 (+0000) Subject: Convert more 'setup do' to 'def setup' for consistency X-Git-Tag: live~3691 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/5c9f1310b016d94becc2b0e02d080ec65eef5879?hp=2f722fc281434ef59e19c504bff9e748e9d3f4b4 Convert more 'setup do' to 'def setup' for consistency --- diff --git a/test/integration/oauth_test.rb b/test/integration/oauth_test.rb index e3ca53520..41c678632 100644 --- a/test/integration/oauth_test.rb +++ b/test/integration/oauth_test.rb @@ -6,7 +6,7 @@ class OAuthTest < ActionDispatch::IntegrationTest include OAuth::Helper - setup do + def setup stub_signup_requests end diff --git a/test/integration/user_roles_test.rb b/test/integration/user_roles_test.rb index 2613c402c..aaa660dd2 100644 --- a/test/integration/user_roles_test.rb +++ b/test/integration/user_roles_test.rb @@ -3,7 +3,7 @@ require "test_helper" class UserRolesTest < ActionDispatch::IntegrationTest fixtures :users, :user_roles - setup do + def setup stub_signup_requests end diff --git a/test/integration/user_terms_seen_test.rb b/test/integration/user_terms_seen_test.rb index d4d7450fb..deb705f81 100644 --- a/test/integration/user_terms_seen_test.rb +++ b/test/integration/user_terms_seen_test.rb @@ -3,7 +3,7 @@ require "test_helper" class UserTermsSeenTest < ActionDispatch::IntegrationTest fixtures :users - setup do + def setup stub_signup_requests end