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 Method Summary collapse

Methods included from ActionController::TemplateAssertions

#assert_template

Methods included from ActionDispatch::Integration::Runner

#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, #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



642
643
644
# File 'lib/action_dispatch/testing/integration.rb', line 642

def app
  super || self.class.app
end

#document_root_elementObject



646
647
648
# File 'lib/action_dispatch/testing/integration.rb', line 646

def document_root_element
  html_document.root
end