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

17 lines
202 B
Ruby
Raw Normal View History

2019-10-12 21:52:04 +05:30
# frozen_string_literal: true
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