Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Remove unneeded creation of images.

Sebastian Palmad5eda640caf7
diff --git a/api/spec/models/spree/api/webhooks/stock_item_decorator_spec.rb b/api/spec/models/spree/api/webhooks/stock_item_decorator_spec.rb
index cb2479e7ed..556e59ed10 100644
--- a/api/spec/models/spree/api/webhooks/stock_item_decorator_spec.rb
+++ b/api/spec/models/spree/api/webhooks/stock_item_decorator_spec.rb
@@ -5,8 +5,6 @@ describe Spree::Api::Webhooks::StockItemDecorator do
let(:variant) { create(:variant) }
let(:stock_item) { variant.stock_items.first }
- let!(:images) { create_list(:image, 2) }
-
describe 'emitting variant.back_in_stock' do
context 'when variant was out of stock' do
before do