mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
Correct flaky spec
Can fail if the machine running tests has less that 10% free space
This commit is contained in:
parent
a329f37b44
commit
936582b8d1
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue