FIX: Broken spec

This commit is contained in:
Robin Ward 2019-03-28 13:55:04 -04:00
parent 8c98c18c2b
commit c44371b4ac
1 changed files with 1 additions and 1 deletions

View File

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