FIX: DistributedCache would fail serialization in some cases

This commit is contained in:
Sam Saffron
2016-01-30 09:01:15 +11:00
parent 96380bfd38
commit 1d27b33100
2 changed files with 6 additions and 4 deletions

View File

@ -15,10 +15,11 @@ describe DistributedCache do
c1 = DistributedCache.new("test1")
c2 = DistributedCache.new("test1")
set = {a: 1, b: 1}
set = Set.new
set << 1
set << "b"
set << 92803984
set << 93739739873973
c1["cats"] = set