Add the posts that need to be reviewed to the hamburger

This commit is contained in:
Robin Ward
2015-04-10 16:29:13 -04:00
parent 7f501a0c41
commit f1ede42569
8 changed files with 44 additions and 5 deletions

View File

@@ -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