term_agreements.rb 171 Bytes
Newer Older
1 2 3 4 5
FactoryBot.define do
  factory :term_agreement do
    term
    user
  end
6 7 8 9 10 11 12 13

  trait :declined do
    accepted false
  end

  trait :accepted do
    accepted true
  end
14
end