correct spec failure, only test code was affected

This commit is contained in:
Sam
2015-03-03 10:20:42 +11:00
parent 33df000bb7
commit f432b9f5b7
3 changed files with 17 additions and 12 deletions

View File

@@ -72,6 +72,7 @@ class RandomTopicSelector
Category.select(:id).each do |c|
$redis.del cache_key(c)
end
$redis.del cache_key
end
def self.cache_key(category=nil)