Merge pull request #5766 from adullact/5765_fix_db-seeds.rb

#5765 - Fix db/seeds.rb (replace "Administration" by "SuperAdmin")
This commit is contained in:
Paul Chavard 2020-11-26 16:47:29 +01:00 committed by GitHub
commit 267cf1060a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,7 @@ default_user = "test@exemple.fr"
default_password = "this is a very complicated password !" default_password = "this is a very complicated password !"
puts "Create test user '#{default_user}'" puts "Create test user '#{default_user}'"
Administration.create!(email: default_user, password: default_password) SuperAdmin.create!(email: default_user, password: default_password)
user = User.create!( user = User.create!(
email: default_user, email: default_user,
password: default_password, password: default_password,