class Session
Ruby on Rails 4.2.9
Since v3.0.20An instance of this class represents a set of requests and responses performed sequentially by a test process. Because you can instantiate multiple sessions and run them side-by-side, you can also mimic (to some limited extent) multiple simultaneous users interacting with your system.
Typically, you will instantiate a new session using IntegrationTest#open_session, rather than instantiating Integration::Session directly.
Inherits from
Includes
Constants
Attributes
- ActionDispatch::Integration::Session#accept
- ActionDispatch::Integration::Session#controller
- ActionDispatch::Integration::Session#host
- ActionDispatch::Integration::Session#host!
- ActionDispatch::Integration::Session#remote_addr
- ActionDispatch::Integration::Session#request
- ActionDispatch::Integration::Session#request_count
- ActionDispatch::Integration::Session#response
Methods (defined here)
Private methods
(3)
Implementation detail — not part of the public API.
Methods (inherited)
From ActionDispatch::Routing::UrlFor (6)
- # _routes_context
- # _with_routes
- # optimize_routes_generation?
- # url_for
- # url_options
- self. new
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