Sha256: 21580dd3384b4cfcf18429d07cfcb370eb0968629e4bf430b3461b673222b3b4
Contents?: true
Size: 640 Bytes
Versions: 17
Compression:
Stored size: 640 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 association :crew_type wage { 75.0 } wage_in_words { 'Seventy five birr only' } status { :draft } factory :active_crew_contract do status { :in_effect } end factory :void_crew_contract do status { :void } end end end
Version data entries
17 entries across 17 versions & 1 rubygems