debian-mirror-gitlab/spec/factories/term_agreements.rb
2018-11-08 19:23:39 +05:30

14 lines
171 B
Ruby

FactoryBot.define do
factory :term_agreement do
term
user
end
trait :declined do
accepted false
end
trait :accepted do
accepted true
end
end