Change factory user password to be compatible with admin pass constraint
This commit is contained in:
parent
aaf1498fff
commit
3d524e9488
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue