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.2.5 spec/factories/ecom/core/equipment_items.rb
ecom_core-1.2.4 spec/factories/ecom/core/equipment_items.rb
ecom_core-1.2.3 spec/factories/ecom/core/equipment_items.rb
ecom_core-1.2.2 spec/factories/ecom/core/equipment_items.rb
ecom_core-1.2.1 spec/factories/ecom/core/equipment_items.rb
ecom_core-1.2.0 spec/factories/ecom/core/equipment_items.rb
ecom_core-1.1.28 spec/factories/ecom/core/equipment_items.rb
ecom_core-1.1.27 spec/factories/ecom/core/equipment_items.rb
ecom_core-1.1.26 spec/factories/ecom/core/equipment_items.rb
ecom_core-1.1.25 spec/factories/ecom/core/equipment_items.rb
ecom_core-1.1.24 spec/factories/ecom/core/equipment_items.rb
ecom_core-1.1.23 spec/factories/ecom/core/equipment_items.rb
ecom_core-1.1.22 spec/factories/ecom/core/equipment_items.rb
ecom_core-1.1.21 spec/factories/ecom/core/equipment_items.rb
ecom_core-1.1.20 spec/factories/ecom/core/equipment_items.rb
ecom_core-1.1.19 spec/factories/ecom/core/equipment_items.rb
ecom_core-1.1.18 spec/factories/ecom/core/equipment_items.rb
ecom_core-1.1.17 spec/factories/ecom/core/equipment_items.rb
ecom_core-1.1.16 spec/factories/ecom/core/equipment_items.rb
ecom_core-1.1.15 spec/factories/ecom/core/equipment_items.rb