Convert more 'setup do' to 'def setup' for consistency
authorTom Hughes <tom@compton.nu>
Wed, 9 Nov 2016 20:33:55 +0000 (20:33 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 9 Nov 2016 20:33:55 +0000 (20:33 +0000)
test/integration/oauth_test.rb
test/integration/user_roles_test.rb
test/integration/user_terms_seen_test.rb

index e3ca535206749b860cb7e1d4890aef9580b5629d..41c67863295b971f6fc9f6465715c06d5cdb2645 100644 (file)
@@ -6,7 +6,7 @@ class OAuthTest < ActionDispatch::IntegrationTest
 
   include OAuth::Helper
 
-  setup do
+  def setup
     stub_signup_requests
   end
 
index 2613c402cea5988611b970423c8a111ed738d99b..aaa660dd2e2e2b75d1af3bf6d6b1e9bcbf134130 100644 (file)
@@ -3,7 +3,7 @@ require "test_helper"
 class UserRolesTest < ActionDispatch::IntegrationTest
   fixtures :users, :user_roles
 
-  setup do
+  def setup
     stub_signup_requests
   end
 
index d4d7450fb545eeb994203917741cb70091d623b8..deb705f81be959c9de59654ce96dd9761cac8b99 100644 (file)
@@ -3,7 +3,7 @@ require "test_helper"
 class UserTermsSeenTest < ActionDispatch::IntegrationTest
   fixtures :users
 
-  setup do
+  def setup
     stub_signup_requests
   end