From 5ce6d7453146ddb5bb273371fa84c52f442ac705 Mon Sep 17 00:00:00 2001 From: Michael Koziarski Date: Wed, 14 Nov 2007 09:36:35 +0000 Subject: [PATCH] Fix Tests broken in [8134] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8135 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/test/controller/view_paths_test.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/actionpack/test/controller/view_paths_test.rb b/actionpack/test/controller/view_paths_test.rb index 5a6edf1db0..a29247ad44 100644 --- a/actionpack/test/controller/view_paths_test.rb +++ b/actionpack/test/controller/view_paths_test.rb @@ -27,6 +27,7 @@ class ViewLoadPathsTest < Test::Unit::TestCase def setup TestController.view_paths = nil + ActionView::Base.cache_template_extensions = false @controller = TestController.new @request = ActionController::TestRequest.new @response = ActionController::TestResponse.new @@ -39,6 +40,7 @@ class ViewLoadPathsTest < Test::Unit::TestCase def teardown ActiveSupport::Deprecation.behavior = @old_behavior + ActionView::Base.cache_template_extensions = true end def test_template_load_path_was_set_correctly