From ddc584e89eaf6845f8cd72bcafce5035c9893dbb Mon Sep 17 00:00:00 2001 From: wycats Date: Sun, 22 May 2011 23:13:44 -0700 Subject: Restructure TemplateAssertions-related code to eliminate circular requires. Also, no need to include dependencies in AS::Concerns inside included blocks. --- actionpack/lib/action_dispatch/testing/assertions.rb | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'actionpack/lib/action_dispatch/testing/assertions.rb') diff --git a/actionpack/lib/action_dispatch/testing/assertions.rb b/actionpack/lib/action_dispatch/testing/assertions.rb index 822150b768..226baf9ad0 100644 --- a/actionpack/lib/action_dispatch/testing/assertions.rb +++ b/actionpack/lib/action_dispatch/testing/assertions.rb @@ -8,12 +8,11 @@ module ActionDispatch extend ActiveSupport::Concern - included do - include DomAssertions - include ResponseAssertions - include RoutingAssertions - include SelectorAssertions - include TagAssertions - end + include DomAssertions + include ResponseAssertions + include RoutingAssertions + include SelectorAssertions + include TagAssertions end end + -- cgit v1.2.3