Sha256: 06ef70a36c3b545f85d486551f1574277ca79a775bd08b2bb030a7f81e4d258e

Contents?: true

Size: 302 Bytes

Versions: 8

Compression:

Stored size: 302 Bytes

Contents

require File.expand_path(File.join(File.dirname(__FILE__), '..', "helper"))

module Nokogiri
  module XML
    class TestText < Nokogiri::TestCase
      def test_new
        node = Text.new('hello world')
        assert node
        assert_equal('hello world', node.content)
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
tenderlove-nokogiri-0.0.0-x86-mswin32-60 test/xml/test_text.rb
tenderlove-nokogiri-0.0.0.20081001111445 test/xml/test_text.rb
nokogiri-1.0.0 test/xml/test_text.rb
nokogiri-1.0.0-x86-mswin32-60 test/xml/test_text.rb
nokogiri-1.0.1 test/xml/test_text.rb
nokogiri-1.0.3 test/xml/test_text.rb
nokogiri-1.0.2 test/xml/test_text.rb
nokogiri-1.0.3-x86-mswin32-60 test/xml/test_text.rb