Correct flaky spec

Can fail if the machine running tests has less that 10% free space
This commit is contained in:
Sam Saffron 2017-09-01 13:09:43 -04:00
parent a329f37b44
commit 936582b8d1
1 changed files with 1 additions and 0 deletions

View File

@ -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)