debian-mirror-gitlab/spec/factories/term_agreements.rb

15 lines
171 B
Ruby
Raw Normal View History

2018-10-15 14:42:47 +05:30
FactoryBot.define do
factory :term_agreement do
term
user
end
2018-11-08 19:23:39 +05:30
trait :declined do
accepted false
end
trait :accepted do
accepted true
end
2018-10-15 14:42:47 +05:30
end