gitlab-org--gitlab-foss/spec/factories/customer_relations/contacts.rb

16 lines
292 B
Ruby
Raw Normal View History

# frozen_string_literal: true
FactoryBot.define do
factory :contact, class: 'CustomerRelations::Contact' do
group
first_name { generate(:name) }
last_name { generate(:name) }
email { generate(:email) }
trait :with_organization do
organization
end
end
end