Sha256: 1893db5a66928bd319b8865b2b025bebd5cad0d3df0345de34016b01f49b91fd

Contents?: true

Size: 232 Bytes

Versions: 65

Compression:

Stored size: 232 Bytes

Contents

FactoryBot.define do
  factory :store_item, class: "Comee::Core::StoreItem" do
    quantity { Faker::Number.between(from: 0, to: 20) }
    reorder_threshold { Faker::Number.between(from: 0, to: 20) }
    product
    store
  end
end

Version data entries

65 entries across 65 versions & 1 rubygems

Version Path
comee_core-0.3.1 spec/factories/comee/core/store_items.rb
comee_core-0.3.0 spec/factories/comee/core/store_items.rb
comee_core-0.2.99 spec/factories/comee/core/store_items.rb
comee_core-0.2.98 spec/factories/comee/core/store_items.rb
comee_core-0.2.97 spec/factories/comee/core/store_items.rb