views: make dossier optional on procedure_footer
This allow displaying the procedure footer even when there is no dossier yet
This commit is contained in:
parent
d36696442b
commit
5d6005dbe9
10 changed files with 16 additions and 16 deletions
|
@ -6,7 +6,7 @@ describe 'new_user/procedure_footer.html.haml', type: :view do
|
|||
return dossier
|
||||
}
|
||||
|
||||
subject { render 'new_user/procedure_footer.html.haml', dossier: dossier }
|
||||
subject { render 'new_user/procedure_footer.html.haml', procedure: dossier.procedure, dossier: dossier }
|
||||
|
||||
it "affiche les informations de contact" do
|
||||
expect(subject).to have_text(service.nom)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue