aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/alert_new.t
diff options
context:
space:
mode:
authorDave Whiteland <dave@mysociety.org>2012-05-04 00:04:09 +0100
committerDave Whiteland <dave@mysociety.org>2012-05-04 00:04:09 +0100
commitc1c23af9b7d9b6b451ac1d197b0d26ae6850935e (patch)
treedc2f20e46042b41e22e8c4efc2b3074b60063833 /t/app/controller/alert_new.t
parent61b0332d8abc37d5270773e66eff708c85de4128 (diff)
parentdb156a1d0311f8fe60736ffe307d324eee0b8480 (diff)
merge master to get schema changes
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 5ea73625a..3a4c2ef81 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 =~ / -\s+Testing, EH1 1BB/;
+ $count++ if $_->body =~ /\s+-\s+Testing,\s+EH1\s+1BB/;
}
is $count, 5, 'Five emails with the right things in them';