Clean spec

This commit is contained in:
simon lehericey 2019-12-09 16:44:31 +01:00
parent 301653bb89
commit e06733d01b

View file

@ -52,8 +52,6 @@ describe Users::ProfilController, type: :controller do
end
context 'when the mail is incorrect' do
let!(:user2) { create(:user) }
before do
patch :update_email, params: { user: { email: 'incorrect' } }
user.reload