1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Revert "Use def setup instead of setup do"

This reverts commit 044f9ab7a4.
This commit is contained in:
eileencodes 2015-03-20 19:32:42 -04:00
parent 9e80c29cd5
commit 34640210ec

View file

@ -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