From 17579ab8a5d330082c20d1122f3d391892c1295e Mon Sep 17 00:00:00 2001 From: Nicolas Bouilleaud Date: Tue, 13 Aug 2019 13:56:46 +0200 Subject: [PATCH] Rename Gestionnaire to Instructeur in seeds.rb --- config/routes.rb | 2 +- db/seeds.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index 4f983e48c..1f17858d5 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -297,7 +297,7 @@ Rails.application.routes.draw do end # - # Gestionnaire + # Instructeur # scope module: 'instructeurs', as: 'instructeur' do diff --git a/db/seeds.rb b/db/seeds.rb index 91472103e..51971e6c1 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -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)