adapting the specs
This commit is contained in:
parent
9553dae7bd
commit
7eee9beed7
7 changed files with 12 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue