diff options
author | Ciro Santilli <ciro.santilli@gmail.com> | 2014-09-27 13:15:08 +0400 |
---|---|---|
committer | Ciro Santilli <ciro.santilli@gmail.com> | 2014-09-27 13:15:08 +0400 |
commit | ac55373ff39674782e914b045469ae49c77e814a (patch) | |
tree | 46350b7a41ebbdd542a8138332fa4854f1615ddb /db/fixtures | |
parent | fd338d67159e6dffaf54fd42fbeddb3b17e4d49f (diff) |
Replace empty? || nil? with blank?.
Diffstat (limited to 'db/fixtures')
-rw-r--r-- | db/fixtures/production/001_admin.rb | 2 |
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'] |