diff --git a/spec/mailers/previews/administration_mailer_preview.rb b/spec/mailers/previews/administration_mailer_preview.rb index 0aaa8a069..e0fd0b0df 100644 --- a/spec/mailers/previews/administration_mailer_preview.rb +++ b/spec/mailers/previews/administration_mailer_preview.rb @@ -29,11 +29,11 @@ class AdministrationMailerPreview < ActionMailer::Preview private def procedure_1 - Procedure.new(id: 10, libelle: "Démarche des marches", administrateur: administrateur) + Procedure.new(id: 10, libelle: "Démarche des marches", administrateurs: [administrateur]) end def procedure_2 - Procedure.new(id: 20, libelle: "Démarche pieds", administrateur: administrateur) + Procedure.new(id: 20, libelle: "Démarche pieds", administrateurs: [administrateur]) end def administrateur