Sha256: ae65517c175481a2008d9705c0eef75aedab48733981953ff70c13aced785142
Contents?: true
Size: 302 Bytes
Versions: 10
Compression:
Stored size: 302 Bytes
Contents
require 'libxml' require 'test/unit' class TC_XML_Node_text < Test::Unit::TestCase def setup @t=XML::Node.new_text("testdata") assert_instance_of(XML::Node,@t) end def test_content assert_equal("testdata",@t.content) end def test_type assert_equal(true,@t.text?) end end
Version data entries
10 entries across 10 versions & 1 rubygems