aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-03-15 09:34:58 -0300
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-03-15 09:34:58 -0300
commitbfee706b2e8c3f0144588fb034d41c8333bcd88e (patch)
treeff1d0437dc6c2583c9a26d3e4382ff3f8b6daeb6 /actionpack/lib
parentaa073188ae5d896542fb26a3211c6938c94c263c (diff)
downloadrails-bfee706b2e8c3f0144588fb034d41c8333bcd88e.tar.gz
rails-bfee706b2e8c3f0144588fb034d41c8333bcd88e.tar.bz2
rails-bfee706b2e8c3f0144588fb034d41c8333bcd88e.zip
Fix typos and improve docs a bit [ci skip]
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_controller/test_case.rb12
1 files changed, 5 insertions, 7 deletions
diff --git a/actionpack/lib/action_controller/test_case.rb b/actionpack/lib/action_controller/test_case.rb
index b2ceedaa6c..41b5228872 100644
--- a/actionpack/lib/action_controller/test_case.rb
+++ b/actionpack/lib/action_controller/test_case.rb
@@ -453,14 +453,12 @@ module ActionController
# Simulate a GET request with the given parameters.
#
- # - +action+: The controller action to call
+ # - +action+: The controller action to call.
# - +parameters+: The HTTP parameters that you want to pass. This may
- # be +nil+,
- # a Hash, or 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 my be +nil+.
- # - +flash+: A Hash of parameters to store in the flash. This my be +nil+.
+ # be +nil+, a Hash, or 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+.
#
# You can also simulate POST, PATCH, PUT, DELETE, and HEAD requests with
# +#post+, +#patch+, +#put+, +#delete+, and +#head+.