FactoryGirl.define do
  factory :order_item, class: ShoppingCart::OrderItem do
    price { Faker::Commerce.price }
    quantity { Faker::Number.number(2) }
    association :product, factory: :product
    order
  end
end