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

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



639
640
641
# File 'lib/action_dispatch/testing/integration.rb', line 639

def app
  super || self.class.app
end

#document_root_elementObject



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

def document_root_element
  html_document.root
end