Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 5ce6d7453146ddb5bb273371fa84c52f442ac705 1 parent 7106dca
@NZKoz NZKoz authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.