debian-mirror-gitlab/spec/factories/custom_emoji.rb
2022-06-21 17:19:12 +05:30

10 lines
252 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :custom_emoji, class: 'CustomEmoji' do
sequence(:name) { |n| "custom_emoji#{n}" }
group
file { 'https://gitlab.com/images/partyparrot.png' }
creator factory: :user
end
end