From 7924be5a7996dbbfa2b47fa717c2f4b8de4e0a81 Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Thu, 11 Aug 2016 14:01:32 +0900 Subject: Fix actionview test failure Caused by #26092. --- actionview/test/actionpack/controller/view_paths_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actionview/test/actionpack/controller') 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 -- cgit v1.2.3