feat: Unify user and super admin credentials (#3830)

Fixes: #3061, #3489
This commit is contained in:
Sojan Jose
2022-01-25 16:58:49 -08:00
committed by GitHub
parent 23965fbaa3
commit 34e8ad9dc5
34 changed files with 303 additions and 233 deletions

View File

@@ -1,6 +1,9 @@
FactoryBot.define do
factory :super_admin do
name { Faker::Name.name }
email { "admin@#{SecureRandom.uuid}.com" }
password { 'Password1!' }
type { 'SuperAdmin' }
confirmed_at { Time.zone.now }
end
end