aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2016-08-11 14:01:32 +0900
committerRyuta Kamizono <kamipo@gmail.com>2016-08-11 14:04:45 +0900
commit7924be5a7996dbbfa2b47fa717c2f4b8de4e0a81 (patch)
treeb38d1f6a90faf2ed412c74665604bed02a7bf2f3 /actionview/test
parent5cb6b887d410fcd1ea821b32374a17a94acdc413 (diff)
downloadrails-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.rb4
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