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

- old
+ new

@@ -38,9 +38,10 @@ def test_caches cache = Zache.new(sync: false) first = cache.get(:hey, lifetime: 5) { Random.rand } second = cache.get(:hey) { Random.rand } assert(first == second) + assert_equal(1, cache.size) end def test_caches_and_expires cache = Zache.new first = cache.get(:hey, lifetime: 0.01) { Random.rand }