2018-05-23 10:25:11 +00:00
|
|
|
FactoryBot.define do
|
|
|
|
factory :email_address do
|
2018-09-19 13:54:49 +00:00
|
|
|
sequence(:email) { |n| "zammad#{n}@localhost.com" }
|
|
|
|
sequence(:realname) { |n| "zammad#{n}" }
|
2019-02-04 06:56:18 +00:00
|
|
|
channel { create(:email_channel) }
|
2018-05-23 10:25:11 +00:00
|
|
|
created_by_id 1
|
|
|
|
updated_by_id 1
|
|
|
|
end
|
|
|
|
end
|