From 6125b675b69434cba151a4f2981424b27b3fe60b Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 14 Nov 2014 18:03:01 +1100 Subject: [PATCH] remove broken spec --- spec/components/distributed_cache_spec.rb | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/spec/components/distributed_cache_spec.rb b/spec/components/distributed_cache_spec.rb index 652c901c397..eeedfac4972 100644 --- a/spec/components/distributed_cache_spec.rb +++ b/spec/components/distributed_cache_spec.rb @@ -11,25 +11,6 @@ describe DistributedCache do DistributedCache.new("test") end - def add_throw_away_cache - c = DistributedCache.new("test") - c["foofoo"] = "bar" - end - - it 'correctly clears up caches' do - start = DistributedCache.subscribers.length - - add_throw_away_cache - GC.start - - cache1["foofoo"] = "bar1" - wait_for do - cache2["foofoo"] == "bar1" - end - - DistributedCache.subscribers.length.should be <= start - end - it 'does not leak state across caches' do c2 = DistributedCache.new("test1") c3 = DistributedCache.new("test1")