From 00ecb3cb581e0952de82c43ce51ae51c1bcb7f09 Mon Sep 17 00:00:00 2001 From: francis Date: Tue, 27 May 2008 01:57:02 +0000 Subject: Remove escaping of HTML from text alert emails. --- spec/controllers/track_controller_spec.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'spec/controllers/track_controller_spec.rb') diff --git a/spec/controllers/track_controller_spec.rb b/spec/controllers/track_controller_spec.rb index 39542cb63..62f3a0140 100644 --- a/spec/controllers/track_controller_spec.rb +++ b/spec/controllers/track_controller_spec.rb @@ -50,6 +50,8 @@ describe TrackController, "when sending alerts for a track" do mail.body =~ /(http:\/\/.*\/c\/(.*))/ mail_url = $1 mail_token = $2 + + mail.body.should_not =~ /&/ # Check subscription managing link # XXX reenable this if we ever have a page manager in the track controller -- cgit v1.2.3