debian-mirror-gitlab/spec/factories/custom_emoji.rb
2021-04-17 20:07:23 +05:30

11 lines
271 B
Ruby

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