aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2016-11-23 22:19:44 +0100
committerKasper Timm Hansen <kaspth@gmail.com>2016-11-23 22:20:53 +0100
commitdcf639f4adfe3819866dde86804d87e67845803b (patch)
tree3c005e2f9e7948638a93059663c6ca2e36f327b2 /actionpack
parent86754a8f7b4986323aae3be172330fbc228c27ab (diff)
downloadrails-dcf639f4adfe3819866dde86804d87e67845803b.tar.gz
rails-dcf639f4adfe3819866dde86804d87e67845803b.tar.bz2
rails-dcf639f4adfe3819866dde86804d87e67845803b.zip
[ci skip] Explain only :json is shipped by default.
Don't want to add defensive programming to this fairly simple thing. Fixes #27060.
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_dispatch/testing/integration.rb3
1 files changed, 2 insertions, 1 deletions
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 <tt>:json</tt> 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 },