Gestionnaire: move instruction_avis_path to instruction_gestionnaire_avis_path

This commit is contained in:
simon lehericey 2018-02-21 13:42:12 +01:00
parent bdce6aff2e
commit c58b32a26d
4 changed files with 7 additions and 7 deletions

View file

@ -85,7 +85,7 @@ feature 'The gestionnaire part' do
within(:css, '.tabs') do
click_on 'Avis'
end
expect(page).to have_current_path(instruction_avis_path(dossier.avis.first))
expect(page).to have_current_path(instruction_gestionnaire_avis_path(dossier.avis.first))
within(:css, '.give-avis') do
expect(page).to have_text("Demandeur : #{gestionnaire.email}")