From 34640210ecd87e9b9b65c0e5840344a44c9d50c9 Mon Sep 17 00:00:00 2001
From: eileencodes <eileencodes@gmail.com>
Date: Fri, 20 Mar 2015 19:32:42 -0400
Subject: Revert "Use `def setup` instead of `setup do`"

This reverts commit 044f9ab7a4d6646ddce4560bb83b58cdc0baa751.
---
 railties/lib/rails/test_help.rb | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

(limited to 'railties')

diff --git a/railties/lib/rails/test_help.rb b/railties/lib/rails/test_help.rb
index d52bb46728..5cf44e6331 100644
--- a/railties/lib/rails/test_help.rb
+++ b/railties/lib/rails/test_help.rb
@@ -27,15 +27,13 @@ if defined?(ActiveRecord::Base)
 end
 
 class ActionController::TestCase
-  def setup
+  setup do
     @routes = Rails.application.routes
-    super
   end
 end
 
 class ActionDispatch::IntegrationTest
-  def setup
+  setup do
     @routes = Rails.application.routes
-    super
   end
 end
-- 
cgit v1.2.3