mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 16:11:08 +08:00
FEATURE: simpler and friendlier unsubscribe workflow
- All unsubscribes go to the exact same page - You may unsubscribe from watching a category on that page - You no longer need to be logged in to unsubscribe from a topic - Simplified footer on emails
This commit is contained in:
@ -187,8 +187,8 @@ describe Email::MessageBuilder do
|
||||
expect(message_with_unsubscribe.header_args['List-Unsubscribe']).to be_present
|
||||
end
|
||||
|
||||
it "has the user preferences url in the body" do
|
||||
expect(message_with_unsubscribe.body).to match(builder.template_args[:user_preferences_url])
|
||||
it "has the unsubscribe url in the body" do
|
||||
expect(message_with_unsubscribe.body).to match('/t/1234/unsubscribe')
|
||||
end
|
||||
|
||||
it "can add an unsubscribe via email link" do
|
||||
|
Reference in New Issue
Block a user