From 8e2c5bfd56f38fb06a212577543fdb68f9b3c60a Mon Sep 17 00:00:00 2001 From: Eric Leroy-Terquem Date: Wed, 18 Sep 2024 10:27:21 +0200 Subject: [PATCH] fix(seeds): fix typo --- db/seeds.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/db/seeds.rb b/db/seeds.rb index 3d828de0e..d5ad6a6d3 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -21,8 +21,8 @@ user = User.create!( user.create_instructeur! user.create_administrateur! -user_fixer User.create(email: ENV.fetch('DEFAULT_INSTRUCTEUR_EMAIL') { CONTACT_EMAIL }, - password: Random.srand, - confirmed_at: Time.zone.now, - email_verified_at: Time.zone.now) +user_fixer = User.create(email: ENV.fetch('DEFAULT_INSTRUCTEUR_EMAIL') { CONTACT_EMAIL }, + password: Random.srand, + confirmed_at: Time.zone.now, + email_verified_at: Time.zone.now) user_fixer.create_instructeur!