gab-social/spec/fabricators/custom_emoji_fabricator.rb

6 lines
156 B
Ruby
Raw Normal View History

2019-07-02 08:10:25 +01:00
Fabricator(:custom_emoji) do
shortcode 'coolcat'
domain nil
image { File.open(Rails.root.join('spec', 'fixtures', 'files', 'emojo.png')) }
end