Welcome to mirror list, hosted at ThFree Co, Russian Federation.

award_emoji.rb « factories « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4b858df52c9bb9b82832b50b25984672022f0494 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
FactoryGirl.define do
  factory :award_emoji do
    name "thumbsup"
    user
    awardable factory: :issue

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