mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 12:04:08 +00:00
Allow users to update their email address (#1745)
* Change email address * Email confirmation * Email change test * Lint * Schema reset * Set test email sender * Select specific user fixture * Refactor/cleanup * Remove unused email_confirmation_token * Current user would never be true * Fix translation test failures
This commit is contained in:
11
test/fixtures/users.yml
vendored
11
test/fixtures/users.yml
vendored
@@ -30,4 +30,13 @@ family_member:
|
||||
last_name: Dylan
|
||||
email: jakobdylan@yahoo.com
|
||||
password_digest: <%= BCrypt::Password.create('password') %>
|
||||
onboarded_at: <%= 3.days.ago %>
|
||||
onboarded_at: <%= 3.days.ago %>
|
||||
|
||||
new_email:
|
||||
family: empty
|
||||
first_name: Test
|
||||
last_name: User
|
||||
email: user@example.com
|
||||
unconfirmed_email: new@example.com
|
||||
password_digest: <%= BCrypt::Password.create('password123') %>
|
||||
onboarded_at: <%= Time.current %>
|
||||
Reference in New Issue
Block a user