diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-01-28 10:55:37 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-01-28 11:04:28 +1100 |
commit | c799e4184c3f14e7770afa514621c72ebc408c52 (patch) | |
tree | 0abbf9861176cb6315b48489702c2c7623dfc52a /spec/models | |
parent | 39e879cfe57a61132c4e2dbc57a0f578e3ba1a3e (diff) |
Calling TMail::Mail#base64_decode does not modify the mail object so doesn't do anything as used here
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/request_mailer_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/request_mailer_spec.rb b/spec/models/request_mailer_spec.rb index 0f09e6926..5edc8edb6 100644 --- a/spec/models/request_mailer_spec.rb +++ b/spec/models/request_mailer_spec.rb @@ -98,7 +98,7 @@ describe RequestMailer, " when receiving incoming mail" do mail.multipart?.should == true mail.parts.size.should == 2 message_part = mail.parts[0].to_s - bounced_mail = MailHandler.mail_from_raw_email(mail.parts[1].body, decode=false) + bounced_mail = MailHandler.mail_from_raw_email(mail.parts[1].body) bounced_mail.to.should == [ ir.incoming_email ] bounced_mail.from.should == [ 'geraldinequango@localhost' ] bounced_mail.body.include?("That's so totally a rubbish question").should be_true |