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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
292 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) }
2022-01-26 12:08:38 +05:30
email { generate(:email) }
2021-11-11 11:23:49 +05:30
trait :with_organization do
organization
end
end
end