mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 11:58:33 +08:00
dashboard next: caching, mobile support and new charts
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user