fix(trad): Add traduction to supporting document

This commit is contained in:
Corinne Durrmeyer 2024-10-29 14:39:20 +01:00
parent 340595cc86
commit f72c55631c
No known key found for this signature in database
GPG key ID: DDC049DDA35585B6
4 changed files with 9 additions and 3 deletions

View file

@ -22,14 +22,14 @@ describe EditableChamp::PieceJustificativeComponent, type: :component do
end
it 'renders a link to template' do
expect(subject).to have_link('Modèle à télécharger')
expect(subject).to have_link('Télécharger le modèle')
expect(subject).not_to have_text("éphémère")
end
context 'as an administrator' do
let(:profil) { :administrateur }
it 'warn about ephemeral template url' do
expect(subject).to have_link('Modèle à télécharger')
expect(subject).to have_link('Télécharger le modèle')
expect(subject).to have_text("éphémère")
end
end