test/test_text.rb in mime_builder-0.0.4 vs test/test_text.rb in mime_builder-0.1.0

- old
+ new

@@ -1,12 +1,12 @@ require './test/test_base.rb' class MIMEBuilderTextTest < Test::Unit::TestCase def test_contenttype - test_text = 'Hello world!' + test_text = 'Hello world!' - filepart = MIMEBuilder::Text.new(test_text) + filepart = MIMEBuilder::Text.new test_text assert_equal 'text/plain', filepart.mime.headers.get('Content-Type') assert_equal test_text, filepart.mime.body.to_s end @@ -14,6 +14,6 @@ def test_content_id_disable filepart = MIMEBuilder::Text.new 'Hello world!', :content_id_disable => true assert_equal nil, filepart.mime.headers.get('Content-Id') end -end \ No newline at end of file +end