From 2ec35b6306fb22aff1b2f111ad7ecf523dd03192 Mon Sep 17 00:00:00 2001 From: Arun Kumar Mohan Date: Tue, 13 Oct 2020 01:22:11 -0500 Subject: [PATCH] Remove unnecessary let declaration --- spec/models/product_import/inventory_reset_strategy_spec.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/spec/models/product_import/inventory_reset_strategy_spec.rb b/spec/models/product_import/inventory_reset_strategy_spec.rb index e8945db0c1..0bfaef42b6 100644 --- a/spec/models/product_import/inventory_reset_strategy_spec.rb +++ b/spec/models/product_import/inventory_reset_strategy_spec.rb @@ -45,7 +45,6 @@ describe ProductImport::InventoryResetStrategy do end context 'and supplier_ids is set' do - let(:enterprise) { variant.product.supplier } let(:variant) { create(:variant) } let!(:variant_override) do create(