From a2ee2131007ecc5b56345a1894e488e4308344a8 Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 13 Nov 2014 20:25:49 +1100 Subject: [PATCH] correct spec --- spec/components/distributed_cache_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/components/distributed_cache_spec.rb b/spec/components/distributed_cache_spec.rb index c2e0abb84d7..652c901c397 100644 --- a/spec/components/distributed_cache_spec.rb +++ b/spec/components/distributed_cache_spec.rb @@ -21,12 +21,13 @@ describe DistributedCache do add_throw_away_cache GC.start + cache1["foofoo"] = "bar1" wait_for do cache2["foofoo"] == "bar1" end - DistributedCache.subscribers.length.should == start + DistributedCache.subscribers.length.should be <= start end it 'does not leak state across caches' do