Sha256: 70a6b8a18f8e021c56d24c3477e2bc6d74c5c3a0bd78190d9771288d742b6759

Contents?: true

Size: 185 Bytes

Versions: 17

Compression:

Stored size: 185 Bytes

Contents

FactoryBot.define do
  factory :material_item, class: Ecom::Core::MaterialItem do
    association :material_identity
    serial_number { "SN_#{(Time.now.to_f * 1000).to_i}" }
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
ecom_core-1.3.14 spec/factories/ecom/core/material_items.rb
ecom_core-1.3.13 spec/factories/ecom/core/material_items.rb
ecom_core-1.3.12 spec/factories/ecom/core/material_items.rb
ecom_core-1.3.11 spec/factories/ecom/core/material_items.rb
ecom_core-1.3.10 spec/factories/ecom/core/material_items.rb
ecom_core-1.3.9 spec/factories/ecom/core/material_items.rb
ecom_core-1.3.8 spec/factories/ecom/core/material_items.rb
ecom_core-1.3.7 spec/factories/ecom/core/material_items.rb
ecom_core-1.3.6 spec/factories/ecom/core/material_items.rb
ecom_core-1.3.5 spec/factories/ecom/core/material_items.rb
ecom_core-1.3.4 spec/factories/ecom/core/material_items.rb
ecom_core-1.3.3 spec/factories/ecom/core/material_items.rb
ecom_core-1.3.2 spec/factories/ecom/core/material_items.rb
ecom_core-1.3.1 spec/factories/ecom/core/material_items.rb
ecom_core-1.3.0 spec/factories/ecom/core/material_items.rb
ecom_core-1.2.36 spec/factories/ecom/core/material_items.rb
ecom_core-1.2.35 spec/factories/ecom/core/material_items.rb