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: b7e259bd44b9c6fc2117946c1c932205c4cfdf58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

FactoryBot.define do
  factory :term_agreement do
    term
    user
  end

  trait :declined do
    accepted false
  end

  trait :accepted do
    accepted true
  end
end