aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/alert_new.t
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-11-30 22:04:33 +0000
committerStruan Donald <struan@exo.org.uk>2011-11-30 22:04:33 +0000
commit0f43cd3b8fbe82256c052aaad65c6a16e3668cbe (patch)
treee80405918a85cb8847d4a4ef3e602ff400cba4f0 /t/app/controller/alert_new.t
parentd69c8404b6ca7cc3b92f3fd1d175b000f2f82e08 (diff)
parent783601d101ad0ff356921c2f3af0e8b3b9d6e24e (diff)
Merge branch 'rss-addresses'
Conflicts: db/schema.sql perllib/FixMyStreet/DB/Result/Problem.pm
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..950666d2d 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 =~ / - 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';