aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authorZuhao Wan <wanzuhao@gmail.com>2014-06-14 15:55:52 +0800
committerZuhao Wan <wanzuhao@gmail.com>2014-06-14 15:55:52 +0800
commit0c58eb02ef8b212c49256453392d93dbbd8f9527 (patch)
tree89f5141e08229ad30b87f75e22fdce07485899c6 /actionview
parentee4e86fa4bb6ab0406127e2708e9c3db346ba314 (diff)
downloadrails-0c58eb02ef8b212c49256453392d93dbbd8f9527.tar.gz
rails-0c58eb02ef8b212c49256453392d93dbbd8f9527.tar.bz2
rails-0c58eb02ef8b212c49256453392d93dbbd8f9527.zip
Make sure restoration always happen.
Diffstat (limited to 'actionview')
-rw-r--r--actionview/test/template/digestor_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actionview/test/template/digestor_test.rb b/actionview/test/template/digestor_test.rb
index 47e1f6a6e5..c2b8439df3 100644
--- a/actionview/test/template/digestor_test.rb
+++ b/actionview/test/template/digestor_test.rb
@@ -233,6 +233,7 @@ class TemplateDigestorTest < ActionView::TestCase
assert_digest_difference("messages/edit", true) do
change_template("comments/_comment")
end
+ ensure
ActionView::Resolver.caching = resolver_before
end