1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/factories/membership_apps.rb

20 lines
620 B
Ruby
Raw Normal View History

2018-11-26 08:39:32 -05:00
# frozen_string_literal: true
FactoryBot.define do
factory :membership_app do
association :account, factory: :guest_account
2018-12-01 13:59:18 -05:00
association :country_state
2018-11-26 09:15:29 -05:00
first_name { Faker::Name.first_name }
last_name { Faker::Name.last_name }
2018-11-26 08:39:32 -05:00
middle_name { Faker::Name.first_name }
date_of_birth { Faker::Date.backward }
occupation { Faker::Company.profession }
email { Faker::Internet.email }
phone_number { Faker::PhoneNumber.phone_number }
telegram_username { Faker::Internet.username }
organization_membership { Faker::Lorem.paragraph }
2018-11-28 08:11:39 -05:00
comment { Faker::Lorem.paragraph }
2018-11-26 08:39:32 -05:00
end
end