test/test_zache.rb in zache-0.5.3 vs test/test_zache.rb in zache-0.6.0

- old
+ new

@@ -232,6 +232,11 @@ Threads.new(threads).assert(threads * 2) do |i| set << cache.get(i) { i } end assert_equal(threads, set.size) end + + def test_fake_class_works + cache = Zache::Fake.new + assert_equal(1, cache.get(:x) { 1 }) + end end