From a4b60d1f3f538f6901aead563e82fd13ff845ab5 Mon Sep 17 00:00:00 2001 From: josevalim Date: Mon, 2 Jun 2008 14:44:43 +0200 Subject: [PATCH] Added a teardown to caching_test --- actionpack/test/controller/caching_test.rb | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/actionpack/test/controller/caching_test.rb b/actionpack/test/controller/caching_test.rb index b2dfac8..a255778 100644 --- a/actionpack/test/controller/caching_test.rb +++ b/actionpack/test/controller/caching_test.rb @@ -611,4 +611,8 @@ CACHED assert_match /Fragment caching in a partial/, @response.body assert_match "Fragment caching in a partial", @store.read('views/test.host/functional_caching/js_fragment_cached_with_partial') end + + def teardown + ActionView::Base.erb_variable = '_erbout' + end end -- 1.5.5.1