mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 11:48:08 +08:00
attempt to stablise flaky spec
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user