OSDN Git Service

Mars theme for generated admin account
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Mon, 26 Aug 2013 10:06:41 +0000 (13:06 +0300)
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Mon, 26 Aug 2013 10:06:41 +0000 (13:06 +0300)
db/fixtures/development/01_admin.rb
db/fixtures/production/001_admin.rb

index 948a345..ecea821 100644 (file)
@@ -8,5 +8,6 @@ User.seed(:id, [
     password_confirmation: "5iveL!fe",
     admin: true,
     projects_limit: 100,
+    theme_id: Gitlab::Theme::MARS
   }
 ])
index 632f610..1b77d94 100644 (file)
@@ -4,7 +4,9 @@ admin = User.create(
   username: 'root',
   password: "5iveL!fe",
   password_confirmation: "5iveL!fe",
-  password_expires_at: Time.now
+  password_expires_at: Time.now,
+  theme_id: Gitlab::Theme::MARS
+
 )
 
 admin.projects_limit = 10000