aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbdelkader Boudih <terminale@gmail.com>2015-01-31 12:55:35 +0000
committerAbdelkader Boudih <terminale@gmail.com>2015-01-31 12:55:35 +0000
commit0ddf2eb9acc268481fbe70ebd3145185e36204d3 (patch)
tree927564bdedb86e2fcca3bce2c9617bb23c6c7bf6
parentafe402dac7da9e2e9d0f3e29582a502d8596d0e0 (diff)
parent8cd115488c5040690204d0bd8550d2b8b0bf24cc (diff)
downloadrails-0ddf2eb9acc268481fbe70ebd3145185e36204d3.tar.gz
rails-0ddf2eb9acc268481fbe70ebd3145185e36204d3.tar.bz2
rails-0ddf2eb9acc268481fbe70ebd3145185e36204d3.zip
Merge pull request #18748 from JuanitoFatas/doc/process-format
[ci skip] Document format parameter of process method in AC test_case.
-rw-r--r--actionpack/lib/action_controller/test_case.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/test_case.rb b/actionpack/lib/action_controller/test_case.rb
index 15e587bcea..4d2a3c712b 100644
--- a/actionpack/lib/action_controller/test_case.rb
+++ b/actionpack/lib/action_controller/test_case.rb
@@ -579,6 +579,7 @@ module ActionController
# (<tt>application/x-www-form-urlencoded</tt> or <tt>multipart/form-data</tt>).
# - +session+: A hash of parameters to store in the session. This may be +nil+.
# - +flash+: A hash of parameters to store in the flash. This may be +nil+.
+ # - +format+: Request format. Defaults to +nil+. Can be string or symbol.
#
# Example calling +create+ action and sending two params:
#