From 774b3720d5853a408de6b890add2df54981bec71 Mon Sep 17 00:00:00 2001 From: Kristina Lim Date: Thu, 14 May 2020 15:23:31 +0800 Subject: [PATCH] Update stock item count on hand in Spree core specs --- spec/models/spree/stock_item_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/spree/stock_item_spec.rb b/spec/models/spree/stock_item_spec.rb index ce5c7fafd0..679af05f90 100644 --- a/spec/models/spree/stock_item_spec.rb +++ b/spec/models/spree/stock_item_spec.rb @@ -8,7 +8,7 @@ RSpec.describe Spree::StockItem do subject { stock_location.stock_items.order(:id).first } it 'maintains the count on hand for a variant' do - expect(subject.count_on_hand).to eq 10 + expect(subject.count_on_hand).to eq 15 end it "can return the stock item's variant's name" do