mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix Tests broken in [8134]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8135 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
7106dca977
commit
5ce6d74531
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue