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

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