debian-mirror-gitlab/spec/factories/term_agreements.rb
2019-12-21 20:55:43 +05:30

16 lines
210 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :term_agreement do
term
user
end
trait :declined do
accepted { false }
end
trait :accepted do
accepted { true }
end
end