debian-mirror-gitlab/spec/factories/award_emoji.rb
2016-06-16 23:09:34 +05:30

12 lines
191 B
Ruby

FactoryGirl.define do
factory :award_emoji do
name "thumbsup"
user
awardable factory: :issue
trait :upvote
trait :downvote do
name "thumbsdown"
end
end
end