fixup! dossier: allow inviting users on the dossier page

This commit is contained in:
Pierre de La Morinerie 2018-09-24 17:12:15 +02:00
parent 682e29a211
commit 23820988be

View file

@ -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)