mirror of
https://github.com/discourse/discourse.git
synced 2026-08-11 13:35:20 -05:00
better revision history
This commit is contained in:
@@ -296,7 +296,7 @@ describe CookedPostProcessor do
|
||||
before { SiteSetting.stubs(:download_remote_images_to_local).returns(true) }
|
||||
|
||||
it "runs only when a user updated the post" do
|
||||
post.updated_by = Discourse.system_user
|
||||
post.last_editor_id = Discourse.system_user.id
|
||||
Jobs.expects(:cancel_scheduled_job).never
|
||||
cpp.pull_hotlinked_images
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user