dashboard next: caching, mobile support and new charts

This commit is contained in:
Joffrey JAFFEUX
2018-05-03 15:41:41 +02:00
committed by GitHub
parent c718c59b5d
commit 980972182f
39 changed files with 819 additions and 545 deletions

View File

@ -73,4 +73,11 @@ describe Cache do
end
expect(r).to eq("bill")
end
it "can fetch keys with pattern" do
cache.write "users:admins", "jeff"
cache.write "users:moderators", "bob"
expect(cache.keys("users:*").count).to eq(2)
end
end