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
290 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
2022-11-25 23:54:43 +05:30
trait :inactive do
state { :inactive }
end
2021-11-11 11:23:49 +05:30
end
end