mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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