debian-mirror-gitlab/spec/factories/term_agreements.rb
2019-10-12 21:52:04 +05:30

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