Methods
Public Instance methods
[ show source ]
# File test/tmail_test.rb, line 8
8: def test_body
9: m = TMail::Mail.new
10: expected = 'something_with_underscores'
11: m.encoding = 'quoted-printable'
12: quoted_body = [expected].pack('*M')
13: m.body = quoted_body
14: assert_equal "something_with_underscores=\n", m.quoted_body
15: assert_equal expected, m.body
16: end