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/001_admin.rb')
-rw-r--r--db/fixtures/development/001_admin.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/db/fixtures/development/001_admin.rb b/db/fixtures/development/001_admin.rb
new file mode 100644
index 00000000000..5020eccbca4
--- /dev/null
+++ b/db/fixtures/development/001_admin.rb
@@ -0,0 +1,10 @@
+# Admin account
+admin = User.create(
+ :email => "admin@local.host",
+ :name => "Administrator",
+ :password => "5iveL!fe",
+ :password_confirmation => "5iveL!fe"
+)
+
+admin.admin = true
+admin.save!