trabajo-afectivo/spec/factories/email_address.rb

12 lines
349 B
Ruby
Raw Normal View History

# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
FactoryBot.define do
factory :email_address do
association :channel, factory: :email_channel
sequence(:email) { |n| "zammad#{n}@localhost.com" }
sequence(:realname) { |n| "zammad#{n}" }
created_by_id { 1 }
updated_by_id { 1 }
end
end