2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

FIX: remove 'crawl_images' site setting (#14646)

This commit is contained in:
Arpit Jalan 2021-10-19 17:12:29 +05:30 committed by GitHub
parent b9164d22ee
commit d1fc759ac4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 64 additions and 47 deletions

View file

@ -0,0 +1,7 @@
# frozen_string_literal: true
module FastImageHelpers
def stub_image_size(width: nil, height: nil)
FastImage.stubs(:size).returns([width, height])
end
end