gitlab-org--gitlab-foss/spec/factories/term_agreements.rb
Bob Van Landuyt 10aa55a770 Allow a user to accept/decline terms
When a user accepts, we store this in the agreements to keep track of
which terms they accepted. We also update the flag on the user.
2018-05-04 13:54:43 +02:00

6 lines
78 B
Ruby

FactoryBot.define do
factory :term_agreement do
term
user
end
end