From 5bda9d0c63c59e0ef162763d02356d482fce3d03 Mon Sep 17 00:00:00 2001 From: Colin Darie Date: Thu, 6 Jun 2024 14:47:36 +0200 Subject: [PATCH] test(attestation): fix wording after rebase --- .../attestation_template_v2s_controller_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/controllers/administrateurs/attestation_template_v2s_controller_spec.rb b/spec/controllers/administrateurs/attestation_template_v2s_controller_spec.rb index 4fbb4ccfd..993681fe6 100644 --- a/spec/controllers/administrateurs/attestation_template_v2s_controller_spec.rb +++ b/spec/controllers/administrateurs/attestation_template_v2s_controller_spec.rb @@ -214,10 +214,10 @@ describe Administrateurs::AttestationTemplateV2sController, type: :controller do super().merge(tiptap_body: { type: :doc, content: [{ type: :mention, attrs: { id: "tdc12", label: "oops" } }] }.to_json) end - it "render error" do + it "renders error" do subject expect(response.body).to include("Formulaire en erreur") - expect(response.body).to include('Supprimer cette balise') + expect(response.body).to include('Supprimer la balise') end end