class TestResponse
Ruby on Rails 4.2.9
Since v3.0.20Integration test methods such as ActionDispatch::Integration::Session#get and ActionDispatch::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)
- self. from_response
Used by
Subclasses (1)
Methods (inherited)
From ActionDispatch::Response (29)
- # abort
- # await_commit
- # await_sent
- # body
- # body=
- # body_parts
- # close
- # code
- # commit!
- # committed?
- # content_type=
- # cookies
- # delete_cookie
- # location
- # location=
- # message
- # prepare!
- # redirect_url
- # response_code
- # sending!
- # sending?
- # sent!
- # sent?
- # set_cookie
- # status=
- # status_message
- # to_a
- # to_ary
- self. new
From ActionDispatch::Http::Cache::Response (7)
- # date
- # date=
- # date?
- # etag=
- # last_modified
- # last_modified=
- # last_modified?
From Object (23)
- # <
- # acts_like?
- # blank?
- # create_fixtures
- # deep_dup
- # destroy
- # duplicable?
- # html_safe?
- # in?
- # instance_values
- # instance_variable_names
- # itself
- # perform
- # presence
- # presence_in
- # present?
- # to_param
- # to_query
- # try
- # try!
- # unescape
- # with_options
- self. table_name_prefix