Module: ActionDispatch::IntegrationTest::Behavior

Extended by:
ActiveSupport::Concern
Includes:
ActionController::TemplateAssertions, ActionDispatch::Integration::Runner
Included in:
ActionDispatch::IntegrationTest
Defined in:
lib/action_dispatch/testing/integration.rb

Defined Under Namespace

Modules: ClassMethods

Constant Summary

Constants included from ActionDispatch::Integration::Runner

ActionDispatch::Integration::Runner::APP_SESSIONS

Constants included from Assertions::ResponseAssertions

Assertions::ResponseAssertions::RESPONSE_PREDICATES

Instance Attribute Summary

Attributes included from ActionDispatch::Integration::Runner

#root_session

Instance Method Summary collapse

Methods included from ActionController::TemplateAssertions

#assert_template

Methods included from ActionDispatch::Integration::Runner

#assertions, #assertions=, #before_setup, #copy_session_variables!, #create_session, #default_url_options, #default_url_options=, #initialize, #integration_session, #open_session, #remove!, #reset!

Methods included from Assertions

#html_document

Methods included from Assertions::RoutingAssertions

#assert_generates, #assert_recognizes, #assert_routing, #method_missing, #setup, #with_routing

Methods included from Assertions::ResponseAssertions

#assert_redirected_to, #assert_response

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ActionDispatch::Integration::Runner

Instance Method Details

#appObject



672
673
674
# File 'lib/action_dispatch/testing/integration.rb', line 672

def app
  super || self.class.app
end

#document_root_elementObject



676
677
678
# File 'lib/action_dispatch/testing/integration.rb', line 676

def document_root_element
  html_document.root
end