mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 12:26:04 +08:00
correct test
This commit is contained in:
@ -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 }
|
||||
|
Reference in New Issue
Block a user