aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/alert_new.t
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-01-10 17:15:24 +0000
committerStruan Donald <struan@exo.org.uk>2012-01-10 17:15:24 +0000
commit6228cc7aa55defdb694d2de05d2a2be282955fe6 (patch)
tree1392fb78e01bd6ab28108de42ccd5f8097340dc8 /t/app/controller/alert_new.t
parent22c0a7367193e947af70ab1bbdfb3268fd1ec3c6 (diff)
parent1955a60586ecd4d6dc7d72de31d01d28230fbb8b (diff)
Merge remote branch 'origin/master' into reportemptyhomes
Diffstat (limited to 't/app/controller/alert_new.t')
-rw-r--r--t/app/controller/alert_new.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/app/controller/alert_new.t b/t/app/controller/alert_new.t
index 580a5ad9a..5ea73625a 100644
--- a/t/app/controller/alert_new.t
+++ b/t/app/controller/alert_new.t
@@ -452,8 +452,9 @@ 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 =~ / -\s+Testing, EH1 1BB/;
}
- is $count, 3, 'Three emails with the right things in them';
+ is $count, 5, 'Five emails with the right things in them';
my $email = $emails[0];
like $email->body, qr/Other User/, 'Update name given';