Skip to content

Commit

Permalink
Copy-edit the documentation
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
rafaelfranca committed Oct 15, 2016
1 parent da840cd commit 10781f3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions actionpack/lib/action_dispatch/testing/integration.rb
Expand Up @@ -177,7 +177,7 @@ def https?
#
# - +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+,
Expand All @@ -190,16 +190,16 @@ def https?
# 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
# called from an ActionDispatch::IntegrationTest object, then that
# object's <tt>@response</tt> 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)
Expand Down

0 comments on commit 10781f3

Please sign in to comment.