Chatwoot/spec/factories/contacts.rb
2019-10-20 14:17:26 +05:30

12 lines
268 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :contact do
sequence(:name) { |n| "Widget #{n}" }
sequence(:email) { |n| "widget-#{n}@example.com" }
phone_number { '+123456789011' }
source_id { rand(100) }
account
inbox
end
end