class Session
Ruby on Rails 7.0.10
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 (5)
- # optimize_routes_generation?
- # route_for
- # url_for
- # url_options
- self. new
From Object (16)
- # acts_like?
- # blank?
- # deep_dup
- # duplicable?
- # html_safe?
- # in?
- # instance_values
- # instance_variable_names
- # presence
- # presence_in
- # present?
- # to_param
- # to_query
- # try
- # try!
- # with_options
From ActiveRecord::TestFixtures (4)
From ActiveSupport::Concern (3)
- # class_methods
- # included
- # prepended