Add DossierController#modifier
This commit is contained in:
parent
338ffb8b50
commit
cd46ee06e1
6 changed files with 18 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue