Sha256: 317f75fa07e49c4f5d4453a7b35f654997bce058c1aa4d6781f232e6252cfbe4
Contents?: true
Size: 503 Bytes
Versions: 44
Compression:
Stored size: 503 Bytes
Contents
FactoryBot.define do factory :crew, class: 'Ecom::Core::Crew' do name { FFaker::Name.name } phone { FFaker::Name.name } email { FFaker::Name.name } qualification { FFaker::Name.name } employment { Ecom::Core::Crew::PERMANENT } wage { FFaker::Random.rand(1000..5000) } employment_date { Date.today - 1 } sub_contracted { false } guarantor_name { FFaker::Name.name } guarantor_phone { FFaker::Name.name } active { true } association :crew_type end end
Version data entries
44 entries across 44 versions & 1 rubygems