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:
parent
9e80c29cd5
commit
34640210ec
1 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue