aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/models/incoming_message_spec.rb2
1 files changed, 1 insertions, 1 deletions
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