mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-17 00:07:24 +00:00
11060: fix specs
This commit is contained in:
committed by
Rachel Arnould
parent
f386202ec2
commit
227b677e4d
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user