Change factory user password to be compatible with admin pass constraint

This commit is contained in:
simon lehericey 2021-10-22 15:15:23 +02:00
parent aaf1498fff
commit 3d524e9488

View file

@ -2,7 +2,7 @@ FactoryBot.define do
sequence(:user_email) { |n| "user#{n}@user.com" }
factory :user do
email { generate(:user_email) }
password { 'my-s3cure-p4ssword' }
password { '{My-$3cure-p4ssWord}' }
confirmed_at { Time.zone.now }
trait :unconfirmed do