mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 03:18:23 +00:00
DEV: Fix heisentest.
Follow-up to 8e133de83118200f46a21b0e4c3a931e1cd14954.
This commit is contained in:
parent
b3eb67976d
commit
1308919a3d
@ -12,6 +12,10 @@ describe CategoryFeaturedTopic do
|
||||
fab!(:category) { Fabricate(:category) }
|
||||
let!(:category_post) { PostCreator.create(user, raw: "I put this post in the category", title: "categorize THIS", category: category.id) }
|
||||
|
||||
before do
|
||||
CategoryFeaturedTopic.clear_exclude_category_ids
|
||||
end
|
||||
|
||||
it "works in batched mode" do
|
||||
category2 = Fabricate(:category)
|
||||
post2 = create_post(category: category2.id)
|
||||
|
Loading…
x
Reference in New Issue
Block a user