diff --git a/spec/views/new_user/dossiers/show/_header.html.haml_spec.rb b/spec/views/new_user/dossiers/show/_header.html.haml_spec.rb index 57d0d795c..9eaa1d342 100644 --- a/spec/views/new_user/dossiers/show/_header.html.haml_spec.rb +++ b/spec/views/new_user/dossiers/show/_header.html.haml_spec.rb @@ -5,7 +5,7 @@ describe 'new_user/dossiers/show/header.html.haml', type: :view do sign_in dossier.user end - subject! { render 'new_user/dossiers/show/header.html.haml', dossier: dossier, is_dossier_owner: true } + subject! { render 'new_user/dossiers/show/header.html.haml', dossier: dossier } it 'affiche les informations du dossier' do expect(rendered).to have_text(dossier.procedure.libelle)