Fix references to RequestHelpers methods in docs

These were extracted into the RequestHelpers module in 9bac470
This commit is contained in:
Hartley McGuire 2022-06-13 20:46:37 -04:00
parent effe504046
commit 1d5f9c3e17
No known key found for this signature in database
GPG Key ID: E823FC1403858A82
2 changed files with 4 additions and 5 deletions

@ -21,9 +21,8 @@ module ActionDispatch # :nodoc:
# Nevertheless, integration tests may want to inspect controller responses in
# more detail, and that's when \Response can be useful for application
# developers. Integration test methods such as
# ActionDispatch::Integration::Session#get and
# ActionDispatch::Integration::Session#post return objects of type
# TestResponse (which are of course also of type \Response).
# Integration::RequestHelpers#get and Integration::RequestHelpers#post return
# objects of type TestResponse (which are of course also of type \Response).
#
# For example, the following demo integration test prints the body of the
# controller response to the console:

@ -3,8 +3,8 @@
require "action_dispatch/testing/request_encoder"
module ActionDispatch
# Integration test methods such as ActionDispatch::Integration::Session#get
# and ActionDispatch::Integration::Session#post return objects of class
# Integration test methods such as Integration::RequestHelpers#get
# and Integration::RequestHelpers#post return objects of class
# TestResponse, which represent the HTTP response results of the requested
# controller actions.
#