diff options
author | Ciro Santilli <ciro.santilli@gmail.com> | 2014-09-29 13:33:26 +0200 |
---|---|---|
committer | Ciro Santilli <ciro.santilli@gmail.com> | 2014-09-29 13:38:54 +0200 |
commit | a963e8c293568c865f03df8da4edf7bb450b4814 (patch) | |
tree | 93c19a0c774d8642c3662b75b655e7dc4439829a /db/fixtures | |
parent | 376e004c16510174dd29ab2953ebdbb28ce2e91b (diff) | |
download | gitlab-ce-a963e8c293568c865f03df8da4edf7bb450b4814.tar.gz |
Prevent email sending on admin dev seed.
Diffstat (limited to 'db/fixtures')
-rw-r--r-- | db/fixtures/development/01_admin.rb | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/db/fixtures/development/01_admin.rb b/db/fixtures/development/01_admin.rb index 1927a39f388..004d4cd64a1 100644 --- a/db/fixtures/development/01_admin.rb +++ b/db/fixtures/development/01_admin.rb @@ -1,11 +1,13 @@ -User.seed do |s| - s.id = 1 - s.name = "Administrator" - s.email = "admin@example.com" - s.username = 'root' - s.password = "5iveL!fe" - s.password_confirmation = "5iveL!fe" - s.admin = true - s.projects_limit = 100 - s.confirmed_at = DateTime.now +Gitlab::Seeder.quiet do + User.seed do |s| + s.id = 1 + s.name = 'Administrator' + s.email = 'admin@example.com' + s.username = 'root' + s.password = '5iveL!fe' + s.password_confirmation = '5iveL!fe' + s.admin = true + s.projects_limit = 100 + s.confirmed_at = DateTime.now + end end |