fix(dossier): do not bypass depositaire check on modifier path
This commit is contained in:
parent
2ad8ccc310
commit
cb752d1857
7 changed files with 31 additions and 27 deletions
|
@ -47,7 +47,7 @@ describe 'users/dossiers/index.html.haml', type: :view do
|
|||
end
|
||||
it 'affiche une alerte pour continuer à remplir un dossier' do
|
||||
expect(rendered).to have_selector('.fr-callout', count: 1)
|
||||
expect(rendered).to have_link(href: modifier_dossier_path(dossier_brouillon))
|
||||
expect(rendered).to have_link(href: brouillon_dossier_path(dossier_brouillon))
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue