diff options
author | Prathamesh Sonpatki <csonpatki@gmail.com> | 2016-02-24 12:48:39 +0530 |
---|---|---|
committer | Prathamesh Sonpatki <csonpatki@gmail.com> | 2016-02-24 13:55:37 +0530 |
commit | 5f59c10471fee7bca43f65bb2bc776ed047715b6 (patch) | |
tree | a396b7393481625ad9f50ed504a8455854e02988 /railties/test | |
parent | 22db455dbe9c26fe6d723cac0758705d9943ea4b (diff) | |
download | rails-5f59c10471fee7bca43f65bb2bc776ed047715b6.tar.gz rails-5f59c10471fee7bca43f65bb2bc776ed047715b6.tar.bz2 rails-5f59c10471fee7bca43f65bb2bc776ed047715b6.zip |
Show permitted flag in the output of AC::Parameters#inspect
- Fixes #23822.
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/application/configuration_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/application/configuration_test.rb b/railties/test/application/configuration_test.rb index 1c7d1e1f5f..d03dd1afcc 100644 --- a/railties/test/application/configuration_test.rb +++ b/railties/test/application/configuration_test.rb @@ -999,7 +999,7 @@ module ApplicationTests app 'development' post "/posts.json", '{ "title": "foo", "name": "bar" }', "CONTENT_TYPE" => "application/json" - assert_equal '<ActionController::Parameters {"title"=>"foo"}>', last_response.body + assert_equal '<ActionController::Parameters {"title"=>"foo"} permitted: false>', last_response.body end test "config.action_controller.permit_all_parameters = true" do |