summaryrefslogtreecommitdiff
path: root/spec/factories/custom_emoji.rb
blob: 88e50eafa7cfb56b1fa5e882541b3462365e8a02 (plain)
1
2
3
4
5
6
7
8
9
10
11
# 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