diff options
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/product_cart.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/product_cart.rb b/spec/factories/product_cart.rb index 713fd0a..95094dd 100644 --- a/spec/factories/product_cart.rb +++ b/spec/factories/product_cart.rb @@ -3,7 +3,7 @@ FactoryBot.define do factory :product_cart, class: 'ProductCart' do cart { create(:cart) } - product { create(:product) } + product { create(:product, available_quantity: 2000) } quantity { rand(1..1000) } end end |