mirror of
https://github.com/github/rails.git
synced 2026-01-29 16:28:09 -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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user