Sha256: 007286ec5c6efa454ea940ddfe447bee75d82f3a63f75df631234cb9f8c5f83d
Contents?: true
Size: 387 Bytes
Versions: 22
Compression:
Stored size: 387 Bytes
Contents
require "#{File.dirname(__FILE__)}/abstract_unit" class TMailMailTest < Test::Unit::TestCase def test_body m = TMail::Mail.new expected = 'something_with_underscores' m.encoding = 'quoted-printable' quoted_body = [expected].pack('*M') m.body = quoted_body assert_equal "something_with_underscores=\n", m.quoted_body assert_equal expected, m.body end end
Version data entries
22 entries across 22 versions & 4 rubygems