From dcf639f4adfe3819866dde86804d87e67845803b Mon Sep 17 00:00:00 2001 From: Kasper Timm Hansen Date: Wed, 23 Nov 2016 22:19:44 +0100 Subject: [ci skip] Explain only :json is shipped by default. Don't want to add defensive programming to this fairly simple thing. Fixes #27060. --- actionpack/lib/action_dispatch/testing/integration.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'actionpack/lib/action_dispatch') diff --git a/actionpack/lib/action_dispatch/testing/integration.rb b/actionpack/lib/action_dispatch/testing/integration.rb index c60395acf9..b74c5d3e83 100644 --- a/actionpack/lib/action_dispatch/testing/integration.rb +++ b/actionpack/lib/action_dispatch/testing/integration.rb @@ -583,7 +583,8 @@ module ActionDispatch # Calling +parsed_body+ on the response parses the response body based on the # last response MIME type. # - # For any custom MIME types you've registered, you can even add your own encoders with: + # Out of the box, only :json is supported. But for any custom MIME + # types you've registered, you can add your own encoders with: # # ActionDispatch::IntegrationTest.register_encoder :wibble, # param_encoder: -> params { params.to_wibble }, -- cgit v1.2.3