diff options
author | Myfanwy Nixon <myf@mysociety.org> | 2014-04-10 17:11:58 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2014-05-16 18:24:22 +0100 |
commit | 3687cc573db7fbdae09773d9007bc6abeac89409 (patch) | |
tree | 0931cf51030a5bcf55fe7bf9fc07611735d76007 /t/app/controller/report_new.t | |
parent | 0d190daf11c8ff29fd53b3a342d0717f5b73da05 (diff) |
Update all email templates with new text.
And FixMyStreet.com specific open questionnaire page.
Diffstat (limited to 't/app/controller/report_new.t')
-rw-r--r-- | t/app/controller/report_new.t | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/t/app/controller/report_new.t b/t/app/controller/report_new.t index 98b0175f8..157d63d01 100644 --- a/t/app/controller/report_new.t +++ b/t/app/controller/report_new.t @@ -587,7 +587,7 @@ foreach my $test ( # receive token my $email = $mech->get_email; ok $email, "got an email"; - like $email->body, qr/confirm the problem/i, "confirm the problem"; + like $email->body, qr/confirm that you want to send your\s+report/i, "confirm the problem"; my ($url) = $email->body =~ m{(http://\S+)}; ok $url, "extracted confirm url '$url'"; @@ -932,7 +932,7 @@ subtest "test report creation for a category that is non public" => sub { my $email = $mech->get_email; ok $email, "got an email"; - like $email->body, qr/confirm the problem/i, "confirm the problem"; + like $email->body, qr/confirm that you want to send your\s+report/i, "confirm the problem"; my ($url) = $email->body =~ m{(http://\S+)}; ok $url, "extracted confirm url '$url'"; @@ -1128,7 +1128,7 @@ for my $test ( my $email = $mech->get_email; ok $email, "got an email"; - like $email->body, qr/confirm the problem/i, "confirm the problem"; + like $email->body, qr/confirm that you want to send your\s+report/i, "confirm the problem"; my ($url) = $email->body =~ m{(https?://\S+)}; ok $url, "extracted confirm url '$url'"; @@ -1298,7 +1298,7 @@ subtest "test Lichfield" => sub { # receive token my $email = $mech->get_email; ok $email, "got an email"; - like $email->body, qr/confirm the problem/i, "confirm the problem"; + like $email->body, qr/to confirm that you want to send your/i, "confirm the problem"; my ($url) = $email->body =~ m{(http://\S+)}; ok $url, "extracted confirm url '$url'"; @@ -1576,7 +1576,7 @@ subtest "extra google analytics code displayed on email confirmation problem cre my $email = $mech->get_email; ok $email, "got an email"; - like $email->body, qr/confirm the problem/i, "confirm the problem"; + like $email->body, qr/confirm that you want to/i, "confirm the problem"; my ($url) = $email->body =~ m{(https?://\S+)}; ok $url, "extracted confirm url '$url'"; |