debian-mirror-gitlab/spec/factories/award_emoji.rb
2018-03-17 18:26:18 +05:30

12 lines
190 B
Ruby

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