Rename Gestionnaire to Instructeur in seeds.rb (#4196)

Seeds : renomme Gestionnaire en Instructeur
This commit is contained in:
Pierre de La Morinerie 2019-08-13 14:12:29 +02:00 committed by GitHub
commit a57574054a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -297,7 +297,7 @@ Rails.application.routes.draw do
end
#
# Gestionnaire
# Instructeur
#
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}'"
Administration.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)