test/tilt_cache_test.rb in tilt-1.4.1 vs test/tilt_cache_test.rb in tilt-2.0.0.beta1
- old
+ new
@@ -1,8 +1,8 @@
-require 'contest'
+require 'test_helper'
require 'tilt'
-class TiltCacheTest < Test::Unit::TestCase
+class TiltCacheTest < Minitest::Test
setup { @cache = Tilt::Cache.new }
test "caching with single simple argument to #fetch" do
template = nil
result = @cache.fetch('hello') { template = Tilt::StringTemplate.new {''} }