test/test_helper.rb in asset_hat-0.1.1 vs test/test_helper.rb in asset_hat-0.1.2
- old
+ new
@@ -19,5 +19,13 @@
class << self
def env ; ActiveSupport::StringInquirer.new('test') ; end
end
end
end
+
+class ActionView::TestCase
+ teardown :clear_html_cache
+
+ def clear_html_cache
+ AssetHat.html_cache = {}
+ end
+end