mastodon/spec/fabricators/custom_emoji_fabricator.rb

8 lines
187 B
Ruby

# frozen_string_literal: true
Fabricator(:custom_emoji) do
shortcode 'coolcat'
domain nil
image { File.open(Rails.root.join('spec', 'fixtures', 'files', 'emojo.png')) }
end