diff options
author | eileencodes <eileencodes@gmail.com> | 2015-03-20 19:32:42 -0400 |
---|---|---|
committer | eileencodes <eileencodes@gmail.com> | 2015-03-20 19:32:42 -0400 |
commit | 34640210ecd87e9b9b65c0e5840344a44c9d50c9 (patch) | |
tree | a148cb093a09f9935b5349ef61361505f390a88d /railties | |
parent | 9e80c29cd5f82359730e7e7474c24b8ab844549d (diff) | |
download | rails-34640210ecd87e9b9b65c0e5840344a44c9d50c9.tar.gz rails-34640210ecd87e9b9b65c0e5840344a44c9d50c9.tar.bz2 rails-34640210ecd87e9b9b65c0e5840344a44c9d50c9.zip |
Revert "Use `def setup` instead of `setup do`"
This reverts commit 044f9ab7a4d6646ddce4560bb83b58cdc0baa751.
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/test_help.rb | 6 |
1 files changed, 2 insertions, 4 deletions
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 |