aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/report_updates.t
diff options
context:
space:
mode:
authorMyfanwy Nixon <myf@mysociety.org>2014-04-10 17:11:58 +0100
committerMatthew Somerville <matthew@mysociety.org>2014-05-16 18:24:22 +0100
commit3687cc573db7fbdae09773d9007bc6abeac89409 (patch)
tree0931cf51030a5bcf55fe7bf9fc07611735d76007 /t/app/controller/report_updates.t
parent0d190daf11c8ff29fd53b3a342d0717f5b73da05 (diff)
Update all email templates with new text.
And FixMyStreet.com specific open questionnaire page.
Diffstat (limited to 't/app/controller/report_updates.t')
-rw-r--r--t/app/controller/report_updates.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/app/controller/report_updates.t b/t/app/controller/report_updates.t
index e84755650..17947a212 100644
--- a/t/app/controller/report_updates.t
+++ b/t/app/controller/report_updates.t
@@ -355,7 +355,7 @@ for my $test (
my $email = $mech->get_email;
ok $email, "got an email";
- like $email->body, qr/confirm the update you/i, "Correct email text";
+ like $email->body, qr/confirm your update on/i, "Correct email text";
my ( $url, $url_token ) = $email->body =~ m{(http://\S+/C/)(\S+)};
ok $url, "extracted confirm url '$url'";
@@ -1010,7 +1010,7 @@ subtest 'submit an update for a registered user, creating update by email' => su
my $email = $mech->get_email;
ok $email, "got an email";
- like $email->body, qr/confirm the update you/i, "Correct email text";
+ like $email->body, qr/confirm your update on/i, "Correct email text";
my ( $url, $url_token ) = $email->body =~ m{(http://\S+/C/)(\S+)};
ok $url, "extracted confirm url '$url'";
@@ -1513,7 +1513,7 @@ for my $test (
my $email = $mech->get_email;
ok $email, "got an email";
- like $email->body, qr/confirm the update you/i, "Correct email text";
+ like $email->body, qr/confirm your update on/i, "Correct email text";
my ( $url, $url_token ) = $email->body =~ m{(http://\S+/C/)(\S+)};
ok $url, "extracted confirm url '$url'";