mirror of
https://github.com/we-promise/sure.git
synced 2026-04-20 04:24:06 +00:00
Family invites (#1397)
* Initial pass at household invites * Invitee setup * Clean up add member form * Lint and other tweaks * Security cleanup * Lint * i18n fixes * More i18n cleanup * Show pending invites * Don't use turbo on the form * Improved email design * Basic tests * Lint * Update onboardings_controller.rb * Registration + invite cleanup * Lint * Update brakeman.ignore * Update brakeman.ignore * Self host invite links * Test tweaks * Address missing param error
This commit is contained in:
19
test/fixtures/invitations.yml
vendored
Normal file
19
test/fixtures/invitations.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
one:
|
||||
email: "test@example.com"
|
||||
token: "valid-token-123"
|
||||
role: "member"
|
||||
inviter: family_admin
|
||||
family: dylan_family
|
||||
created_at: <%= Time.current %>
|
||||
updated_at: <%= Time.current %>
|
||||
expires_at: <%= 3.days.from_now %>
|
||||
|
||||
two:
|
||||
email: "another@example.com"
|
||||
token: "valid-token-456"
|
||||
role: "admin"
|
||||
inviter: family_admin
|
||||
family: dylan_family
|
||||
created_at: <%= Time.current %>
|
||||
updated_at: <%= Time.current %>
|
||||
expires_at: <%= 3.days.from_now %>
|
||||
Reference in New Issue
Block a user