Remove archived=false filter from en_construction scope (Fix : archived dossier is not shown to user)
This commit is contained in:
parent
688a3d8f31
commit
7a9fd77af0
7 changed files with 27 additions and 15 deletions
|
@ -8,7 +8,7 @@ describe MailTemplateConcern do
|
|||
it 'works' do
|
||||
initiated_mail.object = '[TPS] --numero_dossier-- --libelle_procedure-- --lien_dossier--'
|
||||
expected =
|
||||
"[TPS] #{dossier.id} Demande de subvention " +
|
||||
"[TPS] #{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>"
|
||||
|
||||
expect(initiated_mail.object_for_dossier(dossier)).to eq(expected)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue