mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Add the posts that need to be reviewed to the hamburger
This commit is contained in:
@@ -52,7 +52,7 @@ describe NewPostManager do
|
||||
expect(result).to be_success
|
||||
expect(result.post).to be_blank
|
||||
expect(@counter).to be(1)
|
||||
expect(QueuedPost.count).to be(0)
|
||||
expect(QueuedPost.new_count).to be(0)
|
||||
end
|
||||
|
||||
it "calls custom enqueuing handlers" do
|
||||
@@ -63,7 +63,7 @@ describe NewPostManager do
|
||||
expect(result.action).to eq(:enqueued)
|
||||
expect(result).to be_success
|
||||
expect(result.post).to be_blank
|
||||
expect(QueuedPost.count).to be(1)
|
||||
expect(QueuedPost.new_count).to be(1)
|
||||
expect(@counter).to be(0)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user