class Session
Ruby on Rails 3.1.12
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
(2)
Implementation detail — not part of the public API.
- # _mock_session
- # process
Methods (inherited)
From ActionController::Testing (3)
From ActionDispatch::Routing::UrlFor (5)
- # _routes_context
- # _with_routes
- # url_for
- # url_options
- self. new
From Object (24)
- # acts_like?
- # app
- # blank?
- # controller
- # create_fixtures
- # duplicable?
- # helper
- # html_safe?
- # in?
- # index
- # instance_variable_names
- # new_session
- # options
- # presence
- # present?
- # reload!
- # show
- # test_homepage
- # to_param
- # to_query
- # try
- # unescape
- # with_options
- self. table_name_prefix
From ActionController::RackDelegation (3)
From ActiveSupport::Concern (3)
- # append_features
- # included
- self. extended