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

Version Path
jstorimer-deep-test-2.0.0 sample_rails_project/vendor/rails/actionmailer/test/tmail_test.rb
jstorimer-deep-test-1.4.0 sample_rails_project/vendor/rails/actionmailer/test/tmail_test.rb
jstorimer-deep-test-1.3.0 sample_rails_project/vendor/rails/actionmailer/test/tmail_test.rb
jstorimer-deep-test-1.2.0 sample_rails_project/vendor/rails/actionmailer/test/tmail_test.rb
jstorimer-deep-test-1.1.0 sample_rails_project/vendor/rails/actionmailer/test/tmail_test.rb
jstorimer-deep-test-1.0.0 sample_rails_project/vendor/rails/actionmailer/test/tmail_test.rb
jstorimer-deep-test-0.2.0 sample_rails_project/vendor/rails/actionmailer/test/tmail_test.rb
jstorimer-deep-test-0.1.0 sample_rails_project/vendor/rails/actionmailer/test/tmail_test.rb
actionmailer-1.3.6 test/tmail_test.rb
actionmailer-1.3.3 test/tmail_test.rb
actionmailer-1.3.0 test/tmail_test.rb
actionmailer-1.3.1 test/tmail_test.rb
actionmailer-1.3.2 test/tmail_test.rb
actionmailer-1.3.4 test/tmail_test.rb
actionmailer-1.3.5 test/tmail_test.rb
radiant-0.6.1 vendor/rails/actionmailer/test/tmail_test.rb
radiant-0.6.0 vendor/rails/actionmailer/test/tmail_test.rb
radiant-0.6.3 vendor/rails/actionmailer/test/tmail_test.rb
radiant-0.6.2 vendor/rails/actionmailer/test/tmail_test.rb
radiant-0.6.4 vendor/rails/actionmailer/test/tmail_test.rb