Sha256: cec854ed16baa260dac12fc5283e0d8bfca73d07420c776e678c7f8289946a95
Contents?: true
Size: 452 Bytes
Versions: 6
Compression:
Stored size: 452 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 } 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
6 entries across 6 versions & 2 rubygems