diff --git a/spec/components/procedures/errors_summary_spec.rb b/spec/components/procedures/errors_summary_spec.rb index ebeb1096d..a0a646167 100644 --- a/spec/components/procedures/errors_summary_spec.rb +++ b/spec/components/procedures/errors_summary_spec.rb @@ -50,7 +50,8 @@ describe Procedure::ErrorsSummary, type: :component do { libelle: 'repetition requires children', type: :repetition, children: [] }, { libelle: 'drop down list requires options', type: :drop_down_list, options: [] }, { libelle: 'invalid condition', type: :text, condition: ds_eq(constant(true), constant(1)) }, - { libelle: 'header sections must have consistent order', type: :header_section, level: 2 } + { libelle: 'header sections must have consistent order', type: :header_section, level: 2 }, + { libelle: 'regexp invalid', type: :expression_reguliere, expression_reguliere_exemple_text: 'kthxbye', expression_reguliere: /{/ } ]) end