summaryrefslogtreecommitdiff
path: root/spec/models
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-05-27 09:19:13 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-05-27 09:19:13 +0000
commitdb7c6d11791c4d61cd13280d97dc8e5bd8e85db9 (patch)
tree7e58e30f2c008147e0c39afe91de62be12ce007a /spec/models
parent1e61fc763e645038f2da69fc9af6fe166a6b101a (diff)
downloadgitlab-ce-db7c6d11791c4d61cd13280d97dc8e5bd8e85db9.tar.gz
Add latest changes from gitlab-org/security/gitlab@13-0-stable-ee
Diffstat (limited to 'spec/models')
-rw-r--r--spec/models/user_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb
index 60def077239..e82e8c1a21d 100644
--- a/spec/models/user_spec.rb
+++ b/spec/models/user_spec.rb
@@ -944,7 +944,7 @@ describe User do
end
context 'when the first email was unconfirmed and the second email gets confirmed' do
- let_it_be(:user) { create(:user, :unconfirmed, email: 'should-be-unconfirmed@test.com') }
+ let(:user) { create(:user, :unconfirmed, email: 'should-be-unconfirmed@test.com') }
before do
user.update!(email: 'should-be-confirmed@test.com')