custom_emoji_fabricator.rb 216 B

1234567
  1. # frozen_string_literal: true
  2. Fabricator(:custom_emoji) do
  3. shortcode { sequence(:shortcode) { |i| "code_#{i}" } }
  4. domain nil
  5. image { Rails.root.join('spec', 'fixtures', 'files', 'emojo.png').open }
  6. end