diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2016-08-11 14:01:32 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2016-08-11 14:04:45 +0900 |
commit | 7924be5a7996dbbfa2b47fa717c2f4b8de4e0a81 (patch) | |
tree | b38d1f6a90faf2ed412c74665604bed02a7bf2f3 /actionview/test | |
parent | 5cb6b887d410fcd1ea821b32374a17a94acdc413 (diff) | |
download | rails-7924be5a7996dbbfa2b47fa717c2f4b8de4e0a81.tar.gz rails-7924be5a7996dbbfa2b47fa717c2f4b8de4e0a81.tar.bz2 rails-7924be5a7996dbbfa2b47fa717c2f4b8de4e0a81.zip |
Fix actionview test failure
Caused by #26092.
Diffstat (limited to 'actionview/test')
-rw-r--r-- | actionview/test/actionpack/controller/view_paths_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionview/test/actionpack/controller/view_paths_test.rb b/actionview/test/actionpack/controller/view_paths_test.rb index 085e803c6c..9471c76921 100644 --- a/actionview/test/actionpack/controller/view_paths_test.rb +++ b/actionview/test/actionpack/controller/view_paths_test.rb @@ -23,9 +23,9 @@ class ViewLoadPathsTest < ActionController::TestCase end def setup - @request = ActionController::TestRequest.create - @response = ActionDispatch::TestResponse.new @controller = TestController.new + @request = ActionController::TestRequest.create(@controller.class) + @response = ActionDispatch::TestResponse.new @paths = TestController.view_paths end |