mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
use new constructor. (Oops! 💣)
This commit is contained in:
parent
9f09848918
commit
2838a1f4ac
2 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ module ActionView
|
|||
def initialize
|
||||
super
|
||||
self.class.controller_path = ""
|
||||
@request = ActionController::TestRequest.new
|
||||
@request = ActionController::TestRequest.create
|
||||
@response = ActionController::TestResponse.new
|
||||
|
||||
@request.env.delete('PATH_INFO')
|
||||
|
|
|
@ -23,7 +23,7 @@ class ViewLoadPathsTest < ActionController::TestCase
|
|||
end
|
||||
|
||||
def setup
|
||||
@request = ActionController::TestRequest.new
|
||||
@request = ActionController::TestRequest.create
|
||||
@response = ActionController::TestResponse.new
|
||||
@controller = TestController.new
|
||||
@paths = TestController.view_paths
|
||||
|
|
Loading…
Reference in a new issue