Update "reply" notification email to add unsubscribe link

We modified the link that previously redirected us to the "My content"
page to redirect us to the new page for managing subscriptions.

We also adapted the existing generic text by adding a description of
the related notification.
This commit is contained in:
taitus
2020-12-29 12:27:35 +01:00
committed by Javi Martín
parent 3a2564a92d
commit 1fcbd49448
4 changed files with 18 additions and 5 deletions

View File

@@ -176,6 +176,9 @@ describe "System Emails" do
expect(page).to have_content reply.body
expect(page).to have_link "Let's do...", href: comment_url(reply, host: app_host)
expect(page).to have_link("Notifications",
href: edit_subscriptions_url(token: user.subscriptions_token,
host: app_host))
end
scenario "#direct_message_for_receiver" do