require 'abstract_unit' class CDATANodeTest < Test::Unit::TestCase def setup @node = HTML::CDATA.new(nil, 0, 0, "

howdy

") end def test_to_s assert_equal "howdy

]]>", @node.to_s end def test_content assert_equal "

howdy

", @node.content end end