mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
correct test
This commit is contained in:
parent
8248abf73c
commit
9ca61efa97
1 changed files with 5 additions and 0 deletions
|
@ -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 }
|
||||
|
|
Loading…
Reference in a new issue