From 8766756cba914881a41cae3fa0ca1123c7eca99c Mon Sep 17 00:00:00 2001 From: Francis Irving Date: Tue, 9 Mar 2010 18:22:27 +0000 Subject: Prefer HTML to other alternative types --- spec/models/incoming_message_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/models/incoming_message_spec.rb') diff --git a/spec/models/incoming_message_spec.rb b/spec/models/incoming_message_spec.rb index cf51c8a42..eb7126540 100644 --- a/spec/models/incoming_message_spec.rb +++ b/spec/models/incoming_message_spec.rb @@ -263,7 +263,7 @@ describe IncomingMessage, "when Outlook messages are attached to messages" do attachments = im.get_attachments_for_display attachments.size.should == 2 - attachments[0].display_filename.should == 'test.txt' + attachments[0].display_filename.should == 'test.html' # picks HTML rather than text by default, as likely to render better attachments[1].display_filename.should == 'attach.txt' end end -- cgit v1.2.3