Sha256: 0d18fb8755330bd2c79c2a190f80d252ff5d449eaa5264763ff199f087c31c8c
Contents?: true
Size: 594 Bytes
Versions: 40
Compression:
Stored size: 594 Bytes
Contents
FactoryBot.define do factory :equipment_item, class: Ecom::Core::EquipmentItem do name { FFaker::Name.name } description { FFaker::Name.name } status { Ecom::Core::EquipmentItem::READY } duty_status { Ecom::Core::EquipmentItem::AVAILABLE } serial_number { FFaker::Name.name } brand { FFaker::Name.name } item_model { FFaker::Name.name } purchase_price { 1000 } purchase_date { Date.today } license_fee { 200 } tax { 500 } association :equipment association :country association :current_location, factory: :equipment_location end end
Version data entries
40 entries across 40 versions & 1 rubygems