We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 133f5b8 commit e6cfb13Copy full SHA for e6cfb13
1 file changed
spec/queries/low_inventory_query_spec.rb
@@ -34,7 +34,10 @@
34
context "when minimum_quantity is 0 and recommended_quantity is nil and item quantity is 0" do
35
let(:item) { create :item, organization: organization }
36
let(:minimum_quantity) { 0 }
37
- let(:inventory_item_quantity) { 0 }
+
38
+ before do
39
+ TestInventory.create_inventory(organization, { storage_location.id => { item.id => 0 } })
40
+ end
41
42
it { is_expected.to eq [] }
43
end
0 commit comments