Sha256: ee9769d9a4769e1521a14a7605a283774ad7fd0e6a20fd11a35a65b0cc0ff376
Contents?: true
Size: 475 Bytes
Versions: 4
Compression:
Stored size: 475 Bytes
Contents
FactoryBot.define do factory :equipment_item, class: 'Mks::Edm::EquipmentItem' do code { FFaker::Name.name } name { FFaker::Name.name } description { FFaker::Name.name } status { 'READY' } serial_number { FFaker::Name.name } brand { FFaker::Name.name } item_model { FFaker::Name.name } purchase_price { 1.5 } purchase_date { Date.new } association :equipment association :current_location, factory: :equipment_location end end
Version data entries
4 entries across 4 versions & 1 rubygems