adapting the specs

This commit is contained in:
Judith 2020-09-01 15:28:31 +02:00
parent 9553dae7bd
commit 7eee9beed7
7 changed files with 12 additions and 12 deletions

View file

@ -56,7 +56,7 @@ describe Users::ProfilController, type: :controller do
end
it { expect(response).to redirect_to(profil_path) }
it { expect(flash.alert).to eq(['Email invalide']) }
it { expect(flash.alert).to eq(['Courriel invalide']) }
end
context 'when the user has an instructeur role' do