From 5c9f1310b016d94becc2b0e02d080ec65eef5879 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 9 Nov 2016 20:33:55 +0000 Subject: [PATCH] Convert more 'setup do' to 'def setup' for consistency --- test/integration/oauth_test.rb | 2 +- test/integration/user_roles_test.rb | 2 +- test/integration/user_terms_seen_test.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 -- 2.43.2