diff options
author | Benjamin Quorning <benjamin@quorning.net> | 2016-02-17 13:35:55 +0100 |
---|---|---|
committer | Benjamin Quorning <benjamin@quorning.net> | 2016-02-17 14:01:14 +0100 |
commit | a62344262327dca1fde6de951616ae656245ad8a (patch) | |
tree | d9a6bfec6892402bfcaf2064bdbb5a4318c9758e /railties/test | |
parent | 39b1dd1c3da8465aa033509f13a614e16b7383ae (diff) | |
download | rails-a62344262327dca1fde6de951616ae656245ad8a.tar.gz rails-a62344262327dca1fde6de951616ae656245ad8a.tar.bz2 rails-a62344262327dca1fde6de951616ae656245ad8a.zip |
Implement ActionController::Parameters#inspect
Now that AC::Parameters is no longer a Hash, it shouldn't look like a hash.
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 397c5a939d..383f485db5 100644 --- a/railties/test/application/configuration_test.rb +++ b/railties/test/application/configuration_test.rb @@ -988,7 +988,7 @@ module ApplicationTests app 'development' post "/posts.json", '{ "title": "foo", "name": "bar" }', "CONTENT_TYPE" => "application/json" - assert_equal '{"title"=>"foo"}', last_response.body + assert_equal '<ActionController::Parameters {"title"=>"foo"}>', last_response.body end test "config.action_controller.permit_all_parameters = true" do |