aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/track_controller_spec.rb
diff options
context:
space:
mode:
authorfrancis <francis>2008-05-27 01:57:02 +0000
committerfrancis <francis>2008-05-27 01:57:02 +0000
commit00ecb3cb581e0952de82c43ce51ae51c1bcb7f09 (patch)
tree8185163ddf6825e09a13776d21696d70cdbc03cd /spec/controllers/track_controller_spec.rb
parent99f4c7186d8e33c6a9be2c533e2db81dcc733622 (diff)
Remove escaping of HTML from text alert emails.
Diffstat (limited to 'spec/controllers/track_controller_spec.rb')
-rw-r--r--spec/controllers/track_controller_spec.rb2
1 files changed, 2 insertions, 0 deletions
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 =~ /&amp;/
# Check subscription managing link
# XXX reenable this if we ever have a page manager in the track controller