discourse/spec/support/fast_image_helpers.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
164 B
Ruby
Raw Permalink Normal View History

# frozen_string_literal: true
module FastImageHelpers
def stub_image_size(width: nil, height: nil)
FastImage.stubs(:size).returns([width, height])
end
end