diff options
author | Yves Senn <yves.senn@gmail.com> | 2015-12-30 08:52:26 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2015-12-30 08:52:26 +0100 |
commit | 892658a3d266828bd30d20101cab67de1e889278 (patch) | |
tree | b9f86dd74d0b7d0e7e593068bb23ff911268f575 /actionview/lib/action_view | |
parent | 6c85aeaa7b9ec3b926987e05cfc6620387d0ae53 (diff) | |
parent | d8e98897b5703ac49bf0764da71a06d64ecda9b0 (diff) | |
download | rails-892658a3d266828bd30d20101cab67de1e889278.tar.gz rails-892658a3d266828bd30d20101cab67de1e889278.tar.bz2 rails-892658a3d266828bd30d20101cab67de1e889278.zip |
Merge pull request #22829 from jcoyne/test_parameters
TestController#parameters returns AC::Parameters
Diffstat (limited to 'actionview/lib/action_view')
-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 f6b5696a13..120962b5aa 100644 --- a/actionview/lib/action_view/test_case.rb +++ b/actionview/lib/action_view/test_case.rb @@ -28,7 +28,7 @@ module ActionView @response = ActionDispatch::TestResponse.new @request.env.delete('PATH_INFO') - @params = {} + @params = ActionController::Parameters.new end end |