diff options
author | francis <francis> | 2009-10-04 21:42:07 +0000 |
---|---|---|
committer | francis <francis> | 2009-10-04 21:42:07 +0000 |
commit | 661e12a398e5b081abf4a6232498eb20a20eaf72 (patch) | |
tree | a172fc96ee2e7a6e1129c38c539f4299c32f3bf3 /spec/models | |
parent | 99fbf59308f4dada8e3ff3c4a390723a5759741a (diff) |
Change formatting of outgoing emails.
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/request_mailer_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/models/request_mailer_spec.rb b/spec/models/request_mailer_spec.rb index 35eaf6625..d097e0ec5 100644 --- a/spec/models/request_mailer_spec.rb +++ b/spec/models/request_mailer_spec.rb @@ -15,6 +15,7 @@ describe RequestMailer, " when receiving incoming mail" do deliveries.size.should == 1 mail = deliveries[0] mail.to.should == [ 'bob@localhost' ] # to the user who sent fancy_dog_request + STDERR.puts "=====" + mail.body + "======" deliveries.clear end @@ -144,7 +145,7 @@ describe RequestMailer, " when receiving incoming mail" do #{long_url} And a paragraph afterwards." - wrapped = MySociety::Format.wrap_email_body(body) + wrapped = MySociety::Format.wrap_email_body_by_paragraphs(body) wrapped.should include(long_url) end end |