attempt to stablise flaky spec

This commit is contained in:
Sam 2017-07-28 16:59:25 -04:00
parent 307311fdb1
commit 56fd3e1cd4
1 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,10 @@ require 'distributed_cache'
describe DistributedCache do
before :all do
$redis.flushall
end
let! :cache1 do
DistributedCache.new("test")
end