Sha256: 02bd2b0bd72b7619050ba9909690754f0488d445bec77bfe0d342b911aeebf07

Contents?: true

Size: 385 Bytes

Versions: 8

Compression:

Stored size: 385 Bytes

Contents

FactoryBot.define do
  factory :crew_contract, class: 'Ecom::Core::CrewContract' do
    from { Date.yesterday }
    to { Date.tomorrow }
    place_of_work { FFaker::Name.name }
    probation_period { 45 }
    contract_no { FFaker::Name.name }
    contract_type { FFaker::Name.name }
    contract_signed { false }
    date_contract_signed { Date.today }
    association :crew
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ecom_core-1.2.34 spec/factories/ecom/core/crew_contracts.rb
ecom_core-1.2.33 spec/factories/ecom/core/crew_contracts.rb
ecom_core-1.2.32 spec/factories/ecom/core/crew_contracts.rb
ecom_core-1.2.31 spec/factories/ecom/core/crew_contracts.rb
ecom_core-1.2.30 spec/factories/ecom/core/crew_contracts.rb
ecom_core-1.2.29 spec/factories/ecom/core/crew_contracts.rb
ecom_core-1.2.28 spec/factories/ecom/core/crew_contracts.rb
ecom_core-1.2.27 spec/factories/ecom/core/crew_contracts.rb