debian-mirror-gitlab/spec/factories/custom_emoji.rb

11 lines
252 B
Ruby
Raw Normal View History

2020-07-28 23:09:34 +05:30
# frozen_string_literal: true
FactoryBot.define do
factory :custom_emoji, class: 'CustomEmoji' do
sequence(:name) { |n| "custom_emoji#{n}" }
2021-01-29 00:20:46 +05:30
group
file { 'https://gitlab.com/images/partyparrot.png' }
2022-06-21 17:19:12 +05:30
creator factory: :user
2020-07-28 23:09:34 +05:30
end
end