mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
attempt to stablise flaky spec
This commit is contained in:
parent
307311fdb1
commit
56fd3e1cd4
1 changed files with 4 additions and 0 deletions
|
@ -3,6 +3,10 @@ require 'distributed_cache'
|
||||||
|
|
||||||
describe DistributedCache do
|
describe DistributedCache do
|
||||||
|
|
||||||
|
before :all do
|
||||||
|
$redis.flushall
|
||||||
|
end
|
||||||
|
|
||||||
let! :cache1 do
|
let! :cache1 do
|
||||||
DistributedCache.new("test")
|
DistributedCache.new("test")
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue