spec/parser_spec.rb in mail_extract-0.1.1 vs spec/parser_spec.rb in mail_extract-0.1.2
- old
+ new
@@ -8,6 +8,11 @@
it 'parses an email with quotes' do
body = MailExtract.new(fixture('simple_with_quotes.txt')).body
body.should == result_fixture('simple_with_quotes.txt')
end
+
+ it 'parses a reply email with broken authored line' do
+ body = MailExtract.new(fixture('reply_with_quotes.txt')).body
+ body.should == 'This is a first line of the message'
+ end
end