fix db/seeds.rb (replace "Administration" by "SuperAdmin"

This commit is contained in:
Fabrice Gangler 2020-11-25 19:54:32 +01:00
parent 0564b83ac7
commit 1d0355ce1c

View file

@ -9,7 +9,7 @@ default_user = "test@exemple.fr"
default_password = "this is a very complicated password !"
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!(
email: default_user,
password: default_password,