diff options
Diffstat (limited to 'spec/libs/tmail_extensions.rb')
-rw-r--r-- | spec/libs/tmail_extensions.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/spec/libs/tmail_extensions.rb b/spec/libs/tmail_extensions.rb deleted file mode 100644 index 7b9e1b495..000000000 --- a/spec/libs/tmail_extensions.rb +++ /dev/null @@ -1,20 +0,0 @@ -# This is a test of the monkey patches in lib/fcgi_fixes.rb - -require File.dirname(__FILE__) + '/../spec_helper' - -describe "when using TMail" do - - it "should load an email with funny MIME settings" do - # just send it to the holding pen - InfoRequest.holding_pen_request.incoming_messages.size.should == 0 - receive_incoming_mail("humberside-police-odd-mime-type.email", 'dummy') - InfoRequest.holding_pen_request.incoming_messages.size.should == 1 - - incoming_message = InfoRequest.holding_pen_request.incoming_messages[0] - - # This will raise an error if the bug in TMail hasn't been fixed - incoming_message.get_body_for_html_display() - end - -end - |