gitlab-org--gitlab-foss/spec/factories/award_emoji.rb
2016-06-01 12:10:08 +02:00

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