94bb660460
Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
16 lines
202 B
Ruby
16 lines
202 B
Ruby
# 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
|