Welcome to mirror list, hosted at ThFree Co, Russian Federation.

001_admin.rb « development « fixtures « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5020eccbca4d05697e8b3c2994cf0fe6b2ba5c95 (plain)
1
2
3
4
5
6
7
8
9
10
# Admin account
admin = User.create(
  :email => "admin@local.host",
  :name => "Administrator",
  :password => "5iveL!fe",
  :password_confirmation => "5iveL!fe"
)

admin.admin = true
admin.save!