Module: ActionDispatch::IntegrationTest::Behavior

Extended by:
ActiveSupport::Concern
Includes:
ActionController::TemplateAssertions, ActionDispatch::Integration::Runner
Included in:
ActionDispatch::IntegrationTest
Defined in:
actionpack/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 ActiveSupport::Concern

append_features, class_methods, extended, included

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=, #integration_session, #method_missing, #open_session, #remove!, #reset!, #respond_to?

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


727
728
729
# File 'actionpack/lib/action_dispatch/testing/integration.rb', line 727

def app
  super || self.class.app
end

#document_root_elementObject


731
732
733
# File 'actionpack/lib/action_dispatch/testing/integration.rb', line 731

def document_root_element
  html_document.root
end