Sha256: 77c2aab50d2eadd40bf49843182852fa38da0520d00ef83d6e4624ff70418b2c

Contents?: true

Size: 499 Bytes

Versions: 38

Compression:

Stored size: 499 Bytes

Contents

FactoryBot.define do
  factory :equipment_item, class: 'Ecom::Core::EquipmentItem' do
    name { FFaker::Name.name }
    description { FFaker::Name.name }
    status { FFaker::Name.name }
    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 :current_location, factory: :equipment_location
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
ecom_core-1.1.14 spec/factories/ecom/core/equipment_items.rb
ecom_core-1.1.13 spec/factories/ecom/core/equipment_items.rb
ecom_core-1.1.12 spec/factories/ecom/core/equipment_items.rb
ecom_core-1.1.11 spec/factories/ecom/core/equipment_items.rb
ecom_core-1.1.10 spec/factories/ecom/core/equipment_items.rb
ecom_core-1.1.9 spec/factories/ecom/core/equipment_items.rb
ecom_core-1.1.8 spec/factories/ecom/core/equipment_items.rb
ecom_core-1.1.7 spec/factories/ecom/core/equipment_items.rb
ecom_core-1.1.6 spec/factories/ecom/core/equipment_items.rb
ecom_core-1.1.5 spec/factories/ecom/core/equipment_items.rb
ecom_core-1.1.4 spec/factories/ecom/core/equipment_items.rb
ecom_core-1.1.3 spec/factories/ecom/core/equipment_items.rb
ecom_core-1.1.2 spec/factories/ecom/core/equipment_items.rb
ecom_core-1.1.1 spec/factories/ecom/core/equipment_items.rb
ecom_core-1.1.0 spec/factories/ecom/core/equipment_items.rb
ecom_core-1.0.25 spec/factories/ecom/core/equipment_items.rb
ecom_core-1.0.24 spec/factories/ecom/core/equipment_items.rb
ecom_core-1.0.23 spec/factories/ecom/core/equipment_items.rb