diff options
author | Francis Irving <francis@mysociety.org> | 2010-03-09 18:22:27 +0000 |
---|---|---|
committer | Francis Irving <francis@mysociety.org> | 2010-03-09 18:22:27 +0000 |
commit | 8766756cba914881a41cae3fa0ca1123c7eca99c (patch) | |
tree | 02ef59fed184c6c6258c2276beb6582e89a0c2bb /spec/models/incoming_message_spec.rb | |
parent | 32ebcc8ebd82c33a29196e5456ea5e84a0ced59c (diff) |
Prefer HTML to other alternative types
Diffstat (limited to 'spec/models/incoming_message_spec.rb')
-rw-r--r-- | spec/models/incoming_message_spec.rb | 2 |
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 |