FIX: Broken plugin spec

This commit is contained in:
Robin Ward 2019-04-23 15:29:26 -04:00
parent 6f56fba016
commit 21b975e71a

View File

@ -30,7 +30,7 @@ describe NewPostManager do
expect(result.action).to eq(:enqueued) expect(result.action).to eq(:enqueued)
expect(result.reviewable).to be_present expect(result.reviewable).to be_present
review_result = result.reviewable.perform(admin, :approve) review_result = result.reviewable.perform(admin, :approve_post)
expect(Poll.where(post: review_result.created_post).exists?).to eq(true) expect(Poll.where(post: review_result.created_post).exists?).to eq(true)
end end
end end