Sha256: f56272fabc0023731f352b2a47466c8e792210174a8d4178e515d3e31c47d17c

Contents?: true

Size: 131 Bytes

Versions: 3

Compression:

Stored size: 131 Bytes

Contents

FactoryBot.define do
  factory :order_item, class: 'ShoppingCart::OrderItem' do
    product
    quantity { 1 }
    order
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
loker-shopping-cart-0.1.3 spec/factories/order_items.rb
loker-shopping-cart-0.1.2 spec/factories/order_items.rb
loker-shopping-cart-0.1.1 spec/factories/order_items.rb