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/response.rb | 7 ------- 1 file changed, 7 deletions(-) (limited to 'actionpack/lib/action_dispatch/testing/assertions') diff --git a/actionpack/lib/action_dispatch/testing/assertions/response.rb b/actionpack/lib/action_dispatch/testing/assertions/response.rb index 3335742d47..606b01893e 100644 --- a/actionpack/lib/action_dispatch/testing/assertions/response.rb +++ b/actionpack/lib/action_dispatch/testing/assertions/response.rb @@ -6,13 +6,6 @@ module ActionDispatch module ResponseAssertions extend ActiveSupport::Concern - included do - # TODO: Need to pull in AV::Template monkey patches that track which - # templates are rendered. assert_template should probably be part - # of AV instead of AD. - require 'action_view/test_case' - end - # Asserts that the response is one of the following types: # # * :success - Status code was 200 -- cgit v1.2.3