Skip to content

Commit

Permalink
Update resend magic link email copy
Browse files Browse the repository at this point in the history
  • Loading branch information
benbaumann95 committed Jan 31, 2025
1 parent dda3e02 commit 78d2992
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Hello <%= @resource.name %>

This is your magic link.
This is your magic link to view BOPS application: <%= @planning_application.reference_in_full %>.

<%= link_to "View BOPS application: #{@planning_application.reference_in_full}", @url %>
To view the application, follow this link: <%= link_to "Click here to view", @url %>

This link will expire in 48 hours.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
end

it "includes the planning application reference in the email body" do
expect(mail.body.encoded).to include("View BOPS application: #{planning_application.reference_in_full}")
expect(mail.body.encoded).to include("This is your magic link to view BOPS application: #{planning_application.reference_in_full}")
end

it "includes the link expiration information" do
Expand Down

0 comments on commit 78d2992

Please sign in to comment.