BigW Consortium Gitlab

award_emoji.rb 191 Bytes
Newer Older
1 2 3 4 5
FactoryGirl.define do
  factory :award_emoji do
    name "thumbsup"
    user
    awardable factory: :issue
6 7 8 9 10

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