test(attestation): fix wording after rebase

This commit is contained in:
Colin Darie 2024-06-06 14:47:36 +02:00
parent cf58c48843
commit 5bda9d0c63
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4

View file

@ -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