diff options
author | Dave Whiteland <dave@mysociety.org> | 2012-10-03 17:23:29 +0100 |
---|---|---|
committer | Dave Whiteland <dave@mysociety.org> | 2012-10-03 17:23:29 +0100 |
commit | 39c1b648b30e67ceb8912a35b386eb4ee23857b8 (patch) | |
tree | 48d515f8474b1a2223fa323bdfa005c48baf36e0 | |
parent | 7ef3ace3a5a574091a5463595ecf330d50988d9f (diff) |
don't penalise testers with short little names (like 'dave'): allow linebreaks in test match string (non public alerts)
-rw-r--r-- | t/app/controller/alert_new.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/app/controller/alert_new.t b/t/app/controller/alert_new.t index 84634273a..cb787d959 100644 --- a/t/app/controller/alert_new.t +++ b/t/app/controller/alert_new.t @@ -553,7 +553,7 @@ for my $test ( FixMyStreet::App->model('DB::AlertType')->email_alerts(); $mech->email_count_is(1); my $email = $mech->get_email; - like $email->body, qr/Alert test for non public reports/, 'alert contains public report'; + like $email->body, qr/Alert\s+test\s+for\s+non\s+public\s+reports/, 'alert contains public report'; $mech->delete_user( $user1 ); $mech->delete_user( $user2 ); |