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:
commit
267cf1060a
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue