Sha256: ca1df704588fd132491532355206d7d5e78c2cb8cc20a9e2ba2b1a3acc55679a
Contents?: true
Size: 486 Bytes
Versions: 11
Compression:
Stored size: 486 Bytes
Contents
$:.unshift(File.dirname(__FILE__) + "/../lib/") $:.unshift File.dirname(__FILE__) + "/fixtures/helpers" require 'test/unit' require 'action_mailer' 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
11 entries across 11 versions & 1 rubygems