From 227b677e4d7c71ad39333cd289b1697841f62afc Mon Sep 17 00:00:00 2001 From: Ahmed Ejaz Date: Sun, 28 Apr 2024 03:38:53 +0500 Subject: [PATCH] 11060: fix specs --- spec/system/admin/products_v3/products_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/system/admin/products_v3/products_spec.rb b/spec/system/admin/products_v3/products_spec.rb index a39c1ac753..f4d77fa45f 100644 --- a/spec/system/admin/products_v3/products_spec.rb +++ b/spec/system/admin/products_v3/products_spec.rb @@ -684,7 +684,7 @@ describe 'As an enterprise user, I can manage my products', feature: :admin_styl context "when they are under 11" do before do - create_list(:supplier_enterprise, 9) + create_list(:supplier_enterprise, 9, users: [user]) create_list(:tax_category, 9) create_list(:taxon, 2) @@ -731,7 +731,7 @@ describe 'As an enterprise user, I can manage my products', feature: :admin_styl context "when they are over 11" do before do - create_list(:supplier_enterprise, 11) + create_list(:supplier_enterprise, 11, users: [user]) create_list(:tax_category, 11) create_list(:taxon, 11)