debian-mirror-gitlab/spec/factories/customer_relations/contacts.rb

15 lines
261 B
Ruby
Raw Normal View History

2021-11-11 11:23:49 +05:30
# frozen_string_literal: true
FactoryBot.define do
factory :contact, class: 'CustomerRelations::Contact' do
group
first_name { generate(:name) }
last_name { generate(:name) }
trait :with_organization do
organization
end
end
end