class
v3.1.0 - Show latest stable - Superclass: Object

An 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.

Included modules

  • ActionController::Testing
  • ActionDispatch::Assertions
  • ActionDispatch::Integration::RequestHelpers
  • ActionDispatch::Routing::UrlFor
  • ActionDispatch::TestProcess
  • Test::Unit::Assertions

Constants

DEFAULT_HOST = "www.example.com"

Attributes

[RW]accept
[R]controller
[W]host
[W]host!
[RW]remote_addr
[R]request
[RW]request_count
[R]response

Files

  • actionpack/lib/action_dispatch/testing/integration.rb