summaryrefslogtreecommitdiff
path: root/spec/factories/custom_emoji.rb
blob: 2d185794ac9967ae52482d4ee0ba9e3f55993e3a (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

FactoryBot.define do
  factory :custom_emoji, class: 'CustomEmoji' do
    sequence(:name) { |n| "custom_emoji#{n}" }
    namespace
    file { fixture_file_upload(Rails.root.join('spec/fixtures/dk.png')) }
  end
end