mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 10:57:16 +08:00
FIX: remove 'crawl_images' site setting (#14646)
This commit is contained in:
7
spec/support/fast_image_helpers.rb
Normal file
7
spec/support/fast_image_helpers.rb
Normal 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
|
Reference in New Issue
Block a user