aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/alert_new.t
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-01-10 12:07:02 +0000
committerStruan Donald <struan@exo.org.uk>2012-01-10 12:07:02 +0000
commitfdd4cc1a5e6e8ceaef689ded9936886a553525a3 (patch)
tree1f79378b563b71d7ca226661bc94217ce203aa6d /t/app/controller/alert_new.t
parent7ea873d6510c905d33ccdd025b62a8cba4ddb359 (diff)
parent62f0d7ea89e8eda7c74d1467187a2ceddf8dd7d5 (diff)
Merge remote branch 'origin/master' into packaging
Diffstat (limited to 't/app/controller/alert_new.t')
-rw-r--r--t/app/controller/alert_new.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/app/controller/alert_new.t b/t/app/controller/alert_new.t
index 950666d2d..5ea73625a 100644
--- a/t/app/controller/alert_new.t
+++ b/t/app/controller/alert_new.t
@@ -452,7 +452,7 @@ subtest "Test normal alert signups and that alerts are sent" => sub {
$count++ if $_->body =~ /The following updates have been left on this problem:/;
$count++ if $_->body =~ /The following new problems have been reported to City of\s*Edinburgh Council:/;
$count++ if $_->body =~ /The following nearby problems have been added:/;
- $count++ if $_->body =~ / - Testing, EH1 1BB/;
+ $count++ if $_->body =~ / -\s+Testing, EH1 1BB/;
}
is $count, 5, 'Five emails with the right things in them';