templates: update link to dossier
This commit is contained in:
parent
40cf7ebdcb
commit
0526551e71
2 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ module TagsSubstitutionConcern
|
|||
{
|
||||
libelle: 'lien dossier',
|
||||
description: '',
|
||||
lambda: -> (d) { external_link(users_dossier_recapitulatif_url(d)) },
|
||||
lambda: -> (d) { external_link(dossier_url(d)) },
|
||||
available_for_states: Dossier::SOUMIS
|
||||
},
|
||||
{
|
||||
|
|
|
@ -26,7 +26,7 @@ describe MailTemplateConcern do
|
|||
it do
|
||||
expected =
|
||||
"[demarches-simplifiees.fr] #{dossier.id} #{dossier.procedure.libelle} " +
|
||||
"<a target=\"_blank\" href=\"http://localhost:3000/users/dossiers/#{dossier.id}/recapitulatif\">http://localhost:3000/users/dossiers/#{dossier.id}/recapitulatif</a>"
|
||||
"<a target=\"_blank\" href=\"http://localhost:3000/dossiers/#{dossier.id}\">http://localhost:3000/dossiers/#{dossier.id}</a>"
|
||||
|
||||
is_expected.to eq(expected)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue