gitlab-org--gitlab-foss/spec/factories/award_emoji.rb

13 lines
191 B
Ruby
Raw Normal View History

2016-04-16 15:09:08 -04:00
FactoryGirl.define do
factory :award_emoji do
name "thumbsup"
user
awardable factory: :issue
trait :upvote
trait :downvote do
name "thumbsdown"
end
2016-04-16 15:09:08 -04:00
end
end