From e06733d01bb18155aee6994170f685a3b87da291 Mon Sep 17 00:00:00 2001 From: simon lehericey Date: Mon, 9 Dec 2019 16:44:31 +0100 Subject: [PATCH] Clean spec --- spec/controllers/users/profil_controller_spec.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/spec/controllers/users/profil_controller_spec.rb b/spec/controllers/users/profil_controller_spec.rb index aad9bc371..916935d3c 100644 --- a/spec/controllers/users/profil_controller_spec.rb +++ b/spec/controllers/users/profil_controller_spec.rb @@ -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