Fix broken spec.

This commit is contained in:
Guo Xiang Tan 2018-09-06 12:41:43 +08:00
parent 434035f167
commit b6a139b581
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ module Jobs
changes = { raw: raw, edit_reason: I18n.t("upload.edit_reason") }
post.revise(Discourse.system_user, changes, bypass_bump: true)
elsif has_downloaded_image || has_new_large_image || has_new_broken_image
post.trigger_post_process(true)
post.trigger_post_process(bypass_bump: true)
end
end