diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2016-02-24 10:10:45 -0300 |
---|---|---|
committer | Rafael França <rafaelmfranca@gmail.com> | 2016-02-24 10:10:45 -0300 |
commit | 709a554d1b08231defd2d7b34760c706e692dd8c (patch) | |
tree | 6722770ff795c9c1898495030392abe8b74cc636 /railties | |
parent | ba004484cd3456fc8cb6391e7927f3ddc8e32dad (diff) | |
parent | 5f59c10471fee7bca43f65bb2bc776ed047715b6 (diff) | |
download | rails-709a554d1b08231defd2d7b34760c706e692dd8c.tar.gz rails-709a554d1b08231defd2d7b34760c706e692dd8c.tar.bz2 rails-709a554d1b08231defd2d7b34760c706e692dd8c.zip |
Merge pull request #23849 from prathamesh-sonpatki/fix-23822
Show permitted flag in the output of AC::Parameters#inspect
Diffstat (limited to 'railties')
-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 |