refactor sign_up_instructeur_avis_url
This commit is contained in:
parent
b0aa005769
commit
c565c9c87b
5 changed files with 9 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue