mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 16:53:44 +08:00
Oops fix build again.
This commit is contained in:
parent
e0d5d9670a
commit
a0daa7cad0
|
@ -64,7 +64,7 @@ describe TopicView do
|
|||
best = TopicView.new(topic.id, nil, best: 99)
|
||||
expect(best.posts.count).to eq(2)
|
||||
expect(best.filtered_post_ids.size).to eq(3)
|
||||
expect(best.current_post_ids).to match_array([p2.id, p3.id])
|
||||
expect(best.posts.pluck(:id)).to match_array([p2.id, p3.id])
|
||||
|
||||
# should get no results for trust level too low
|
||||
best = TopicView.new(topic.id, nil, best: 99, min_trust_level: coding_horror.trust_level + 1)
|
||||
|
|
Loading…
Reference in New Issue
Block a user