From a963e8c293568c865f03df8da4edf7bb450b4814 Mon Sep 17 00:00:00 2001 From: Ciro Santilli Date: Mon, 29 Sep 2014 13:33:26 +0200 Subject: Prevent email sending on admin dev seed. --- db/fixtures/development/01_admin.rb | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'db/fixtures') 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 -- cgit v1.2.1