Module: ActionDispatch::Assertions

Extended by:
ActiveSupport::Concern
Includes:
DomAssertions, ResponseAssertions, RoutingAssertions, SelectorAssertions, TagAssertions
Included in:
Integration::Runner, Integration::Session, ActionView::TestCase::Behavior
Defined in:
lib/action_dispatch/testing/assertions.rb,
lib/action_dispatch/testing/assertions/dom.rb,
lib/action_dispatch/testing/assertions/tag.rb,
lib/action_dispatch/testing/assertions/routing.rb,
lib/action_dispatch/testing/assertions/response.rb,
lib/action_dispatch/testing/assertions/selector.rb

Defined Under Namespace

Modules: DomAssertions, ResponseAssertions, RoutingAssertions, SelectorAssertions, TagAssertions

Constant Summary collapse

NO_STRIP =
%w{pre script style textarea}

Method Summary

Methods included from TagAssertions

#assert_no_tag, #assert_tag, #find_all_tag, #find_tag, #html_document

Methods included from SelectorAssertions

#assert_select, #assert_select_email, #assert_select_encoded, #count_description, #css_select

Methods included from RoutingAssertions

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

Methods included from ResponseAssertions

#assert_redirected_to, #assert_response

Methods included from DomAssertions

#assert_dom_equal, #assert_dom_not_equal

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ActionDispatch::Assertions::RoutingAssertions