diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-01-29 12:19:21 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-01-29 12:19:21 -0200 |
commit | 7814f901e1ec0cc3228914f60bd340922f98d94f (patch) | |
tree | b5e1301567a11595ace4c391b224353cbec2aab5 /actionpack/lib/action_controller | |
parent | 0eb3ba0e658dd95a5e7d08ddaab7a4c08083756c (diff) | |
download | rails-7814f901e1ec0cc3228914f60bd340922f98d94f.tar.gz rails-7814f901e1ec0cc3228914f60bd340922f98d94f.tar.bz2 rails-7814f901e1ec0cc3228914f60bd340922f98d94f.zip |
Use fixed fonts only in the name of the parameter
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r-- | actionpack/lib/action_controller/test_case.rb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/actionpack/lib/action_controller/test_case.rb b/actionpack/lib/action_controller/test_case.rb index ccfaa1135c..15e587bcea 100644 --- a/actionpack/lib/action_controller/test_case.rb +++ b/actionpack/lib/action_controller/test_case.rb @@ -494,11 +494,11 @@ module ActionController # Simulate a GET request with the given parameters. # # - +action+: The controller action to call. - # - +params:+ The hash with HTTP parameters that you want to pass. This may be +nil+. - # - +body:+ The request body with a string that is appropriately encoded + # - +params+: The hash with HTTP parameters that you want to pass. This may be +nil+. + # - +body+: The request body with a string that is appropriately encoded # (<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+. + # - +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+. # # You can also simulate POST, PATCH, PUT, DELETE, and HEAD requests with # +post+, +patch+, +put+, +delete+, and +head+. @@ -574,11 +574,11 @@ module ActionController # - +action+: The controller action to call. # - +method+: Request method used to send the HTTP request. Possible values # are +GET+, +POST+, +PATCH+, +PUT+, +DELETE+, +HEAD+. Defaults to +GET+. Can be a symbol. - # - +params:+ The hash with HTTP parameters that you want to pass. This may be +nil+. - # - +body:+ The request body with a string that is appropriately encoded + # - +params+: The hash with HTTP parameters that you want to pass. This may be +nil+. + # - +body+: The request body with a string that is appropriately encoded # (<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+. + # - +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+. # # Example calling +create+ action and sending two params: # |