2018-11-26 13:39:32 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
FactoryBot.define do
|
2018-12-06 19:37:45 +00:00
|
|
|
factory :membership_app do
|
2018-12-06 01:56:52 +00:00
|
|
|
association :account, factory: :guest_account
|
2018-12-01 18:59:18 +00:00
|
|
|
association :country_state
|
2018-12-01 18:55:36 +00:00
|
|
|
|
2018-11-26 14:15:29 +00:00
|
|
|
first_name { Faker::Name.first_name }
|
|
|
|
last_name { Faker::Name.last_name }
|
2018-11-26 13:39:32 +00:00
|
|
|
middle_name { Faker::Name.first_name }
|
2018-11-26 16:34:42 +00:00
|
|
|
date_of_birth { Faker::Date.backward }
|
2018-11-26 16:53:04 +00:00
|
|
|
occupation { Faker::Company.profession }
|
2018-11-28 13:09:23 +00:00
|
|
|
email { Faker::Internet.email }
|
|
|
|
phone_number { Faker::PhoneNumber.phone_number }
|
|
|
|
telegram_username { Faker::Internet.username }
|
2018-11-28 13:16:53 +00:00
|
|
|
organization_membership { Faker::Lorem.paragraph }
|
2018-11-28 13:11:39 +00:00
|
|
|
comment { Faker::Lorem.paragraph }
|
2018-11-26 13:39:32 +00:00
|
|
|
end
|
|
|
|
end
|