correct test

This commit is contained in:
Sam 2015-02-25 18:09:45 +11:00
parent 8248abf73c
commit 9ca61efa97

View file

@ -404,6 +404,11 @@ describe TopicQuery do
context 'suggested_for' do
before do
$redis.del RandomTopicSelector.cache_key
end
context 'when anonymous' do
let(:topic) { Fabricate(:topic) }
let!(:new_topic) { Fabricate(:post, user: creator).topic }