Skip to content

Commit

Permalink
FIX: Broken plugin spec
Browse files Browse the repository at this point in the history
  • Loading branch information
eviltrout committed Apr 23, 2019
1 parent 6f56fba commit 21b975e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/poll/spec/lib/new_post_manager_spec.rb
Expand Up @@ -30,7 +30,7 @@
expect(result.action).to eq(:enqueued)
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)
end
end
Expand Down

0 comments on commit 21b975e

Please sign in to comment.