Sha256: 5cdc76991fde1272f7681d5ce7c325de2346bf738af5b1a044d1e0eefff8e204

Contents?: true

Size: 352 Bytes

Versions: 5

Compression:

Stored size: 352 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) }
    active { true }

    association :crew_type
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ecom_core-1.0.11 spec/factories/ecom/core/crews.rb
ecom_core-1.0.10 spec/factories/ecom/core/crews.rb
ecom_core-1.0.9 spec/factories/ecom/core/crews.rb
ecom_core-1.0.8 spec/factories/ecom/core/crews.rb
ecom_core-1.0.7 spec/factories/ecom/core/crews.rb