Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix typos and improve docs a bit [ci skip]

  • Loading branch information...
commit bfee706b2e8c3f0144588fb034d41c8333bcd88e 1 parent aa07318
@carlosantoniodasilva carlosantoniodasilva authored
Showing with 5 additions and 7 deletions.
  1. +5 −7 actionpack/lib/action_controller/test_case.rb
View
12 actionpack/lib/action_controller/test_case.rb
@@ -453,14 +453,12 @@ def prepare_controller_class(new_class)
# 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+.
Please sign in to comment.
Something went wrong with that request. Please try again.