diff options
author | Matthew Somerville <matthew@mysociety.org> | 2014-03-17 18:39:24 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2014-03-17 19:04:25 +0000 |
commit | 36f50c1e21ef26f0021036568254e70863bdb0cc (patch) | |
tree | b7cf3213cbe2e55989a2a336945477319046844a /t/app/controller/questionnaire.t | |
parent | c5715d14de77d3bbcd144592175c4814eb19bbc8 (diff) |
Change default email indentation to none.
This is very old, no-one seems to want/need it any more,
and more than one reuser does not want it. Fixes #715.
Diffstat (limited to 't/app/controller/questionnaire.t')
-rw-r--r-- | t/app/controller/questionnaire.t | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/t/app/controller/questionnaire.t b/t/app/controller/questionnaire.t index 3468909b9..6ee7ba58f 100644 --- a/t/app/controller/questionnaire.t +++ b/t/app/controller/questionnaire.t @@ -401,7 +401,8 @@ FixMyStreet::override_config { ok $email, "got an email"; $mech->clear_emails_ok; - like $email->body, qr/fill in this short questionnaire/i, "got questionnaire email"; + (my $body = $email->body) =~ s/\s+/ /g; + like $body, qr/fill in this short questionnaire/i, "got questionnaire email"; ($token) = $email->body =~ m{http://.*?/Q/(\S+)}; ok $token, "extracted questionnaire token '$token'"; |