Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kazuhiko Shiozaki
gitlab-ce
Commits
35152e3c
Commit
35152e3c
authored
Sep 29, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7895 from cirosantilli/quiet-admin-dev-seed
Prevent email sending on admin dev seed.
parents
3dc9a67c
a963e8c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
db/fixtures/development/01_admin.rb
db/fixtures/development/01_admin.rb
+12
-10
No files found.
db/fixtures/development/01_admin.rb
View file @
35152e3c
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment