Gestionnaire: move procedure_path gestionnaire_procedure_path
This commit is contained in:
parent
0dc101e375
commit
4a70087f7a
4 changed files with 16 additions and 16 deletions
|
@ -13,7 +13,7 @@ feature 'The gestionnaire part' do
|
|||
expect(page).to have_current_path(procedures_path)
|
||||
|
||||
click_on procedure.libelle
|
||||
expect(page).to have_current_path(procedure_path(procedure))
|
||||
expect(page).to have_current_path(gestionnaire_procedure_path(procedure))
|
||||
|
||||
click_on dossier.user.email
|
||||
expect(page).to have_current_path(gestionnaire_dossier_path(procedure, dossier))
|
||||
|
@ -40,16 +40,16 @@ feature 'The gestionnaire part' do
|
|||
dossier_present?(dossier.id, 'en construction')
|
||||
|
||||
click_on 'Suivre le dossier'
|
||||
expect(page).to have_current_path(procedure_path(procedure))
|
||||
expect(page).to have_current_path(gestionnaire_procedure_path(procedure))
|
||||
test_statut_bar(suivi: 1, tous_les_dossiers: 1)
|
||||
expect(page).to have_text('Aucun dossier')
|
||||
|
||||
click_on 'suivi'
|
||||
expect(page).to have_current_path(procedure_path(procedure, statut: 'suivis'))
|
||||
expect(page).to have_current_path(gestionnaire_procedure_path(procedure, statut: 'suivis'))
|
||||
dossier_present?(dossier.id, 'en construction')
|
||||
|
||||
click_on 'Ne plus suivre'
|
||||
expect(page).to have_current_path(procedure_path(procedure, statut: 'suivis'))
|
||||
expect(page).to have_current_path(gestionnaire_procedure_path(procedure, statut: 'suivis'))
|
||||
test_statut_bar(a_suivre: 1, tous_les_dossiers: 1)
|
||||
expect(page).to have_text('Aucun dossier')
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue