Browse files

Fix Tests broken in [8134]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8135 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 7106dca commit 5ce6d7453146ddb5bb273371fa84c52f442ac705 @NZKoz NZKoz committed Nov 14, 2007
Showing with 2 additions and 0 deletions.
  1. +2 −0 actionpack/test/controller/view_paths_test.rb
View
2 actionpack/test/controller/view_paths_test.rb
@@ -27,6 +27,7 @@ def hello_world; render(:template => 'test/hello_world'); end
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 @@ def setup
def teardown
ActiveSupport::Deprecation.behavior = @old_behavior
+ ActionView::Base.cache_template_extensions = true
end
def test_template_load_path_was_set_correctly

0 comments on commit 5ce6d74

Please sign in to comment.