diff options
author | Matthew Somerville <matthew@mysociety.org> | 2014-05-16 18:25:32 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2014-05-16 18:25:32 +0100 |
commit | 90208bb808c84209b16ce1628e04a8eaa6e10448 (patch) | |
tree | 65d02dd615762cabdfdbc2a026885ebef1ea23e2 /t/app/controller/report_updates.t | |
parent | bf062b508081521201cf315f483b7aee3a6a0c7b (diff) | |
parent | 3687cc573db7fbdae09773d9007bc6abeac89409 (diff) |
Merge branch '700-auto-emails'
Diffstat (limited to 't/app/controller/report_updates.t')
-rw-r--r-- | t/app/controller/report_updates.t | 6 |
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'"; |