mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Update stock item count on hand in Spree core specs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user