Change wording in create_admin_user to be more descriptive

This commit is contained in:
Shen Sat
2021-05-19 08:45:40 +01:00
parent ab027d6af6
commit cb914e4729

View File

@@ -62,7 +62,7 @@ def create_admin_user
role = Spree::Role.find_or_create_by(name: 'admin')
admin.spree_roles << role
admin.save
say "Done!"
say "New admin user persisted!"
else
say "There was some problems with persisting new admin user:"
admin.errors.full_messages.each do |error|