Sha256: 11f2e8c41e849ad36d6dd6e77d81105d16962feff3ab0bc77f5b143ef24899b2

Contents?: true

Size: 332 Bytes

Versions: 7

Compression:

Stored size: 332 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) }

    association :crew_type
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ecom_core-1.0.6 spec/factories/ecom/core/crews.rb
ecom_core-1.0.5 spec/factories/ecom/core/crews.rb
ecom_core-1.0.4 spec/factories/ecom/core/crews.rb
ecom_core-1.0.3 spec/factories/ecom/core/crews.rb
ecom_core-1.0.2 spec/factories/ecom/core/crews.rb
ecom_core-1.0.1 spec/factories/ecom/core/crews.rb
ecom_core-1.0.0 spec/factories/ecom/core/crews.rb