From 10781f30a0401224477b3295ea16f816d522c71f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Sat, 15 Oct 2016 11:13:13 -0300 Subject: Copy-edit the documentation [ci skip] --- actionpack/lib/action_dispatch/testing/integration.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'actionpack/lib/action_dispatch/testing/integration.rb') diff --git a/actionpack/lib/action_dispatch/testing/integration.rb b/actionpack/lib/action_dispatch/testing/integration.rb index 6c2d4c3c42..f3e7c6998f 100644 --- a/actionpack/lib/action_dispatch/testing/integration.rb +++ b/actionpack/lib/action_dispatch/testing/integration.rb @@ -177,7 +177,7 @@ module ActionDispatch # # - +method+: The HTTP method (GET, POST, PATCH, PUT, DELETE, HEAD, OPTIONS) # as a symbol. - # - +path+: The URI (as a String) on which you want to perform a GET + # - +path+: The URI (as a String) on which you want to perform the # request. # - +params+: The HTTP parameters that you want to pass. This may # be +nil+, @@ -190,8 +190,8 @@ module ActionDispatch # merged into the Rack env hash. # # This method is rarely used directly. Use +#get+, +#post+, or other standard - # HTTP methods in integration tests. Only +#process+ is only required for an - # OPTIONS request. + # HTTP methods in integration tests. +#process+ is only required when using a + # request method that doesn't have a method defined in the integrations tests. # # This method returns a Response object, which one can use to # inspect the details of the response. Furthermore, if this method was @@ -199,7 +199,7 @@ module ActionDispatch # object's @response instance variable will point to the same # response object. # - # Examples: + # Example: # process :get, '/author', params: { since: 201501011400 } def process(method, path, params: nil, headers: nil, env: nil, xhr: false, as: nil) request_encoder = RequestEncoder.encoder(as) -- cgit v1.2.3