Skip to content

Commit dcf639f

Browse files
committed
[ci skip] Explain only :json is shipped by default.
Don't want to add defensive programming to this fairly simple thing. Fixes rails#27060.
1 parent 86754a8 commit dcf639f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

actionpack/lib/action_dispatch/testing/integration.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,8 @@ def method_missing(sym, *args, &block)
583583
# Calling +parsed_body+ on the response parses the response body based on the
584584
# last response MIME type.
585585
#
586-
# For any custom MIME types you've registered, you can even add your own encoders with:
586+
# Out of the box, only <tt>:json</tt> is supported. But for any custom MIME
587+
# types you've registered, you can add your own encoders with:
587588
#
588589
# ActionDispatch::IntegrationTest.register_encoder :wibble,
589590
# param_encoder: -> params { params.to_wibble },

0 commit comments

Comments
 (0)