summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@gmail.com>2014-09-27 11:15:08 +0200
committerCiro Santilli <ciro.santilli@gmail.com>2014-09-27 11:15:08 +0200
commitac55373ff39674782e914b045469ae49c77e814a (patch)
tree46350b7a41ebbdd542a8138332fa4854f1615ddb /db
parentfd338d67159e6dffaf54fd42fbeddb3b17e4d49f (diff)
downloadgitlab-ce-ac55373ff39674782e914b045469ae49c77e814a.tar.gz
Replace empty? || nil? with blank?.
Diffstat (limited to 'db')
-rw-r--r--db/fixtures/production/001_admin.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/fixtures/production/001_admin.rb b/db/fixtures/production/001_admin.rb
index 21c10f31923..f84d0903910 100644
--- a/db/fixtures/production/001_admin.rb
+++ b/db/fixtures/production/001_admin.rb
@@ -1,4 +1,4 @@
-password = if ENV['GITLAB_ROOT_PASSWORD'].nil? || ENV['GITLAB_ROOT_PASSWORD'].empty?
+password = if ENV['GITLAB_ROOT_PASSWORD'].blank?
"5iveL!fe"
else
ENV['GITLAB_ROOT_PASSWORD']