From bfee706b2e8c3f0144588fb034d41c8333bcd88e Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Fri, 15 Mar 2013 09:34:58 -0300 Subject: Fix typos and improve docs a bit [ci skip] --- actionpack/lib/action_controller/test_case.rb | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'actionpack/lib') 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 - # (application/x-www-form-urlencoded or - # multipart/form-data). - # - +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 + # (application/x-www-form-urlencoded or multipart/form-data). + # - +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+. -- cgit v1.2.3