Mailer preview correction: procedure has now multiple administrators
This commit is contained in:
parent
8f6a1d1d10
commit
2393fa86be
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue