class TestResponse
Ruby on Rails 2.3.18
Since v2.2.3 Last seen in v4.2.9Integration test methods such as ActionController::Integration::Session#get and ActionController::Integration::Session#post return objects of class TestResponse, which represent the HTTP response results of the requested controller actions.
See Response for more information on controller response objects.
Inherits from
Methods (defined here)
- # recycle!
Methods (inherited)
From ActionController::Response (20)
- # assign_default_content_type_and_charset!
- # charset
- # charset=
- # content_type
- # content_type=
- # each
- # etag
- # etag=
- # etag?
- # last_modified
- # last_modified=
- # last_modified?
- # location
- # location=
- # prepare!
- # redirect
- # sending_file?
- # set_cookie
- # write
- self. new