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

term_agreements.rb « factories « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3c4eebd0196810a2b6b09d43c77c7c98f2d78b7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FactoryBot.define do
  factory :term_agreement do
    term
    user
  end

  trait :declined do
    accepted false
  end

  trait :accepted do
    accepted true
  end
end