feat(instructeur): can flag a dossier as "pending corrections"
This commit is contained in:
parent
5d61c6fa35
commit
ca3b127942
13 changed files with 254 additions and 32 deletions
|
@ -61,7 +61,8 @@ describe 'instructeurs/dossiers/show', type: :view do
|
|||
within("form[action=\"#{follow_instructeur_dossier_path(dossier.procedure, dossier)}\"]") do
|
||||
expect(subject).to have_button('Suivre le dossier')
|
||||
end
|
||||
expect(subject).to have_selector('.header-actions ul:first-child .fr-btn', count: 2)
|
||||
expect(subject).to have_button('Demander une modification')
|
||||
expect(subject).to have_selector('.header-actions ul:first-child > li.instruction-button', count: 1)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue