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/lib | |
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/lib')
-rw-r--r-- | actionview/lib/action_view/test_case.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/test_case.rb b/actionview/lib/action_view/test_case.rb index 42fa17d1e0..2945aceb3e 100644 --- a/actionview/lib/action_view/test_case.rb +++ b/actionview/lib/action_view/test_case.rb @@ -24,7 +24,7 @@ module ActionView def initialize super self.class.controller_path = "" - @request = ActionController::TestRequest.create + @request = ActionController::TestRequest.create(self.class) @response = ActionDispatch::TestResponse.new @request.env.delete("PATH_INFO") |