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
diff options
context:
space:
mode:
Diffstat (limited to 'db/fixtures/development/02_users.rb')
-rw-r--r--db/fixtures/development/02_users.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/db/fixtures/development/02_users.rb b/db/fixtures/development/02_users.rb
index ceed0d6d12a..cdb2fa062e4 100644
--- a/db/fixtures/development/02_users.rb
+++ b/db/fixtures/development/02_users.rb
@@ -78,7 +78,9 @@ class Gitlab::Seeder::Users
email: FFaker::Internet.email,
confirmed_at: DateTime.now,
password: random_password
- )
+ ) do |user|
+ user.assign_personal_namespace
+ end
print '.'
rescue ActiveRecord::RecordInvalid