diff options
author | Connor Shea <connor.james.shea@gmail.com> | 2016-06-06 15:17:42 -0600 |
---|---|---|
committer | Connor Shea <connor.james.shea@gmail.com> | 2016-06-06 15:32:36 -0600 |
commit | efb7da68e686e501abcfb8b0aea241c7b625fac5 (patch) | |
tree | bf50b3f5fd8a4c4dc0ca1a6a45bc9c61bc514986 /db | |
parent | 740a6ecba07a056fca481622b4fa89939c225987 (diff) | |
download | gitlab-ce-efb7da68e686e501abcfb8b0aea241c7b625fac5.tar.gz |
Fix missed colorize methods.
Diffstat (limited to 'db')
-rw-r--r-- | db/fixtures/production/001_admin.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/db/fixtures/production/001_admin.rb b/db/fixtures/production/001_admin.rb index 78746c83225..b37dc794015 100644 --- a/db/fixtures/production/001_admin.rb +++ b/db/fixtures/production/001_admin.rb @@ -16,21 +16,21 @@ user = User.new(user_args) user.skip_confirmation! if user.save - puts "Administrator account created:".green + puts "Administrator account created:".color(:green) puts - puts "login: root".green + puts "login: root".color(:green) if user_args.key?(:password) - puts "password: #{user_args[:password]}".green + puts "password: #{user_args[:password]}".color(:green) else - puts "password: You'll be prompted to create one on your first visit.".green + puts "password: You'll be prompted to create one on your first visit.".color(:green) end puts else - puts "Could not create the default administrator account:".red + puts "Could not create the default administrator account:".color(:red) puts user.errors.full_messages.map do |message| - puts "--> #{message}".red + puts "--> #{message}".color(:red) end puts |