refactor sign_up_instructeur_avis_url

This commit is contained in:
Christophe Robillard 2020-05-20 17:17:39 +02:00
parent b0aa005769
commit c565c9c87b
5 changed files with 9 additions and 7 deletions

View file

@ -378,7 +378,7 @@ describe Instructeurs::AvisController, type: :controller do
let(:password) { '' }
it { expect(created_instructeur).to be_nil }
it { is_expected.to redirect_to sign_up_instructeur_avis_path(avis_id, invited_email) }
it { is_expected.to redirect_to sign_up_instructeur_avis_path(procedure.id, avis_id, invited_email) }
it { expect(flash.alert).to eq(['Le mot de passe doit être rempli']) }
end
end