correct spec

This commit is contained in:
Sam 2014-11-13 20:25:49 +11:00
parent 85e9aaa4fa
commit a2ee213100
1 changed files with 2 additions and 1 deletions

View File

@ -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