Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-05-27 12:19:13 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-05-27 12:19:13 +0300
commitdb7c6d11791c4d61cd13280d97dc8e5bd8e85db9 (patch)
tree7e58e30f2c008147e0c39afe91de62be12ce007a /spec
parent1e61fc763e645038f2da69fc9af6fe166a6b101a (diff)
Add latest changes from gitlab-org/security/gitlab@13-0-stable-ee
Diffstat (limited to 'spec')
-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')