test/test_padrino_cache.rb in padrino-cache-0.9.25 vs test/test_padrino_cache.rb in padrino-cache-0.9.26
- old
+ new
@@ -1,7 +1,13 @@
require File.expand_path(File.dirname(__FILE__) + '/helper')
class TestPadrinoCache < Test::Unit::TestCase
+
+ def teardown
+ tmp = File.expand_path(File.dirname(__FILE__) + "/tmp")
+ system("rm -rf #{tmp}")
+ end
+
should 'cache a fragment' do
called = false
mock_app do
register Padrino::Cache
enable :caching
\ No newline at end of file