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