aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2017-03-17 12:21:54 +0530
committerGitHub <noreply@github.com>2017-03-17 12:21:54 +0530
commit7f6b0721ae8f49d351001df331368a5b231268b6 (patch)
treef43dac86ade0700252025012e86f7f6909489f26
parentd5c32f87119b87e36e06aefd538b733857d7b2ef (diff)
parent20a0f5e8399f6f2cf3352ace55628c352cf8e688 (diff)
downloadrails-7f6b0721ae8f49d351001df331368a5b231268b6.tar.gz
rails-7f6b0721ae8f49d351001df331368a5b231268b6.tar.bz2
rails-7f6b0721ae8f49d351001df331368a5b231268b6.zip
Merge pull request #28444 from budnik/patch-2
Updates incorrect documentation [ci skip]
-rw-r--r--actionpack/lib/action_dispatch/testing/integration.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/actionpack/lib/action_dispatch/testing/integration.rb b/actionpack/lib/action_dispatch/testing/integration.rb
index a3430e210e..697abc1c48 100644
--- a/actionpack/lib/action_dispatch/testing/integration.rb
+++ b/actionpack/lib/action_dispatch/testing/integration.rb
@@ -192,11 +192,10 @@ module ActionDispatch
# HTTP methods in integration tests. +#process+ is only required when using a
# request method that doesn't have a method defined in the integration tests.
#
- # This method returns a Response object, which one can use to
- # inspect the details of the response. Furthermore, if this method was
+ # This method returns a response status. 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.
+ # object's <tt>@response</tt> instance variable will point to Response object
+ # which one can use to inspect the details of the response.
#
# Example:
# process :get, '/author', params: { since: 201501011400 }