mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 01:53:40 +08:00
FIX: Broken plugin spec
This commit is contained in:
parent
6f56fba016
commit
21b975e71a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user