Add DossierController#modifier

This commit is contained in:
gregoirenovel 2018-09-05 18:23:10 +02:00
parent 338ffb8b50
commit cd46ee06e1
6 changed files with 18 additions and 6 deletions

View file

@ -21,7 +21,7 @@ describe 'new_user/dossiers/demande.html.haml', type: :view do
end
context 'when the dossier is editable' do
it { is_expected.to have_link('Modifier le dossier', href: brouillon_dossier_path(dossier)) }
it { is_expected.to have_link('Modifier le dossier', href: modifier_dossier_path(dossier)) }
end
context 'when the dossier is read-only' do