Skip to content

Commit

Permalink
Add preview emails for partnerships
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie authored and JamieCleare2525 committed Jul 12, 2024
1 parent e1bf7e7 commit c175d4e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions spec/mailers/previews/placements/user_mailer_preview.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,12 @@ def user_membership_created_notification
def user_membership_destroyed_notification
UserMailer.with(service: :placements).user_membership_destroyed_notification(Placements::User.first, Placements::School.first)
end

def partnership_created_notification
UserMailer.with(service: :placements).partnership_created_notification(Placements::User.first, Placements::School.first, Placements::Provider.first)
end

def partnership_destroyed_notification
UserMailer.with(service: :placements).partnership_destroyed_notification(Placements::User.first, Placements::School.first, Placements::Provider.first)
end
end

0 comments on commit c175d4e

Please sign in to comment.