Rename Gestionnaire to Instructeur in seeds.rb

This commit is contained in:
Nicolas Bouilleaud 2019-08-13 13:56:46 +02:00
parent ea0d12cd29
commit 17579ab8a5
2 changed files with 2 additions and 2 deletions

View file

@ -297,7 +297,7 @@ Rails.application.routes.draw do
end end
# #
# Gestionnaire # Instructeur
# #
scope module: 'instructeurs', as: 'instructeur' do scope module: 'instructeurs', as: 'instructeur' do

View file

@ -11,5 +11,5 @@ 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) Administration.create!(email: default_user, password: default_password)
Administrateur.create!(email: default_user, password: default_password) Administrateur.create!(email: default_user, password: default_password)
Gestionnaire.create!(email: default_user, password: default_password) Instructeur.create!(email: default_user, password: default_password)
User.create!(email: default_user, password: default_password, confirmed_at: Time.zone.now) User.create!(email: default_user, password: default_password, confirmed_at: Time.zone.now)