diff --git a/spec/jobs/pull_hotlinked_images_spec.rb b/spec/jobs/pull_hotlinked_images_spec.rb index 566b37f3549..2b37f3a2b05 100644 --- a/spec/jobs/pull_hotlinked_images_spec.rb +++ b/spec/jobs/pull_hotlinked_images_spec.rb @@ -82,6 +82,7 @@ describe Jobs::PullHotlinkedImages do end it 'replaces image src' do + SiteSetting.download_remote_images_threshold = 0 post = Fabricate(:post, raw: "#{url}") Jobs::ProcessPost.new.execute(post_id: post.id)