mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 01:56:58 +08:00
improve spec stability
This commit is contained in:
@ -17,12 +17,16 @@ describe DistributedCache do
|
||||
DistributedCache.new(name, manager: @manager)
|
||||
end
|
||||
|
||||
let :cache_name do
|
||||
SecureRandom.hex
|
||||
end
|
||||
|
||||
let! :cache1 do
|
||||
cache("test")
|
||||
cache(cache_name)
|
||||
end
|
||||
|
||||
let! :cache2 do
|
||||
cache("test")
|
||||
cache(cache_name)
|
||||
end
|
||||
|
||||
it 'allows us to store Set' do
|
||||
|
Reference in New Issue
Block a user