Sha256: 1c2784e3a91b6263ae50f6682102a9286f35f67b7bb27b16ce87273b31e34378

Contents?: true

Size: 334 Bytes

Versions: 5

Compression:

Stored size: 334 Bytes

Contents

FactoryBot.define do
  factory :crew, class: 'Ecom::Model::Crew' do
    name { FFaker::Name.name }
    phone { FFaker::Name.name }
    email { FFaker::Name.name }
    qualification { FFaker::Name.name }
    employment { Ecom::Model::Crew::PERMANENT }
    wage { FFaker::Random.rand(1000..5000) }

    association :crew_type
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ecom_model-2.0.4 spec/factories/ecom/model/crews.rb
ecom_model-2.0.3 spec/factories/ecom/model/crews.rb
ecom_model-2.0.2 spec/factories/ecom/model/crews.rb
ecom_model-2.0.1 spec/factories/ecom/model/crews.rb
ecom_model-2.0.0 spec/factories/ecom/model/crews.rb