mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 03:54:08 +00:00
User Onboarding + Bug Fixes (#1352)
* Bump min supported date to 20 years * Add basic onboarding * User onboarding * Complete onboarding flow * Cleanup, add user profile update test
This commit is contained in:
4
test/fixtures/users.yml
vendored
4
test/fixtures/users.yml
vendored
@@ -4,6 +4,7 @@ empty:
|
||||
last_name: One
|
||||
email: user1@email.com
|
||||
password_digest: <%= BCrypt::Password.create('password') %>
|
||||
onboarded_at: <%= 3.days.ago %>
|
||||
|
||||
maybe_support_staff:
|
||||
family: empty
|
||||
@@ -12,6 +13,7 @@ maybe_support_staff:
|
||||
email: support@maybe.co
|
||||
password_digest: <%= BCrypt::Password.create('password') %>
|
||||
role: super_admin
|
||||
onboarded_at: <%= 3.days.ago %>
|
||||
|
||||
family_admin:
|
||||
family: dylan_family
|
||||
@@ -20,6 +22,7 @@ family_admin:
|
||||
email: bob@bobdylan.com
|
||||
password_digest: <%= BCrypt::Password.create('password') %>
|
||||
role: admin
|
||||
onboarded_at: <%= 3.days.ago %>
|
||||
|
||||
family_member:
|
||||
family: dylan_family
|
||||
@@ -27,3 +30,4 @@ family_member:
|
||||
last_name: Dylan
|
||||
email: jakobdylan@yahoo.com
|
||||
password_digest: <%= BCrypt::Password.create('password') %>
|
||||
onboarded_at: <%= 3.days.ago %>
|
||||
Reference in New Issue
Block a user