Update "direct message" 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.
This commit is contained in:
taitus
2020-12-29 12:23:55 +01:00
committed by Javi Martín
parent 0af765a3bd
commit a36f3feb87
6 changed files with 11 additions and 7 deletions

View File

@@ -185,6 +185,9 @@ describe "System Emails" do
expect(page).to have_content "This is a sample of message's content."
expect(page).to have_link "Reply to #{admin.user.name}", href: user_url(admin.user, host: app_host)
expect(page).to have_link("Notifications",
href: edit_subscriptions_url(token: admin.user.subscriptions_token,
host: app_host))
end
scenario "#direct_message_for_sender" do