diff options
author | http://jneen.net/ <jneen@jneen.net> | 2016-11-10 15:24:02 +0900 |
---|---|---|
committer | http://jneen.net/ <jneen@jneen.net> | 2016-11-17 11:59:44 +0900 |
commit | f7b0692912e0679a3e2e77b2d1bfaf305fba473a (patch) | |
tree | 99592eef10b6d4179d4ebcfb69ff4b0f99a6db34 /spec/lib/gitlab/email/reply_parser_spec.rb | |
parent | 60306053a2a14ff881bb56eadd4968bc4d4f48dc (diff) | |
download | gitlab-ce-f7b0692912e0679a3e2e77b2d1bfaf305fba473a.tar.gz |
add parsing support for incoming html email
Diffstat (limited to 'spec/lib/gitlab/email/reply_parser_spec.rb')
-rw-r--r-- | spec/lib/gitlab/email/reply_parser_spec.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/lib/gitlab/email/reply_parser_spec.rb b/spec/lib/gitlab/email/reply_parser_spec.rb index 6f8e9a4be64..7a0d6ba90cc 100644 --- a/spec/lib/gitlab/email/reply_parser_spec.rb +++ b/spec/lib/gitlab/email/reply_parser_spec.rb @@ -206,5 +206,10 @@ describe Gitlab::Email::ReplyParser, lib: true do it "properly renders email reply from MS Outlook client" do expect(test_parse_body(fixture_file("emails/outlook.eml"))).to eq("Microsoft Outlook 2010") end + + it "properly renders html-only email from MS Outlook" do + expect(test_parse_body(fixture_file("emails/outlook_html.eml"))).to eq("Microsoft Outlook 2010") + + end end end |