summaryrefslogtreecommitdiff
path: root/spec/factories/award_emoji.rb
blob: a0abbbce686168da937bfc65f0a791a256caf9a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
FactoryBot.define do
  factory :award_emoji do
    name "thumbsup"
    user
    awardable factory: :issue

    trait :upvote
    trait :downvote do
      name "thumbsdown"
    end
  end
end