add repasser_en_instruction to dossiers expirants
This commit is contained in:
parent
e076981571
commit
07bb27a3af
2 changed files with 5 additions and 1 deletions
|
@ -108,7 +108,8 @@ describe 'instructeurs/dossiers/show.html.haml', type: :view do
|
|||
|
||||
it 'displays the correct actions' do
|
||||
expect(subject).to have_text('Conserver un mois de plus')
|
||||
expect(subject).to have_selector('.header-actions ul:first-child .fr-btn', count: 1)
|
||||
expect(subject).to have_link('Repasser en instruction', href: repasser_en_instruction_instructeur_dossier_path(dossier.procedure, dossier))
|
||||
expect(subject).to have_selector('.header-actions ul:first-child .fr-btn', count: 2)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue