Sha256: 693c438b7232847fc974fa4ce4debef48c30532328b3f770eaee1379438b8dbc

Contents?: true

Size: 376 Bytes

Versions: 245

Compression:

Stored size: 376 Bytes

Contents

require "helper"

module Nokogiri
  class TestSlop < Nokogiri::TestCase
    def test_description_tag
      doc = Nokogiri.Slop(<<-eoxml)
        <item>
          <title>foo</title>
          <description>this is the foo thing</description>
        </item>
      eoxml
      assert doc.item.title
      assert doc.item._description, 'should have description'
    end
  end
end

Version data entries

245 entries across 245 versions & 21 rubygems

Version Path
nokogiri-1.6.2.1-x64-mingw32 test/decorators/test_slop.rb
nokogiri-1.6.2.1-java test/decorators/test_slop.rb
nokogiri-1.6.2 test/decorators/test_slop.rb
nokogiri-1.6.2-x86-mingw32 test/decorators/test_slop.rb
nokogiri-1.6.2-x64-mingw32 test/decorators/test_slop.rb
nokogiri-1.6.2-java test/decorators/test_slop.rb
nokogiri-1.6.2.rc3 test/decorators/test_slop.rb
nokogiri-1.6.2.rc3-x86-mingw32 test/decorators/test_slop.rb
nokogiri-1.6.2.rc3-x64-mingw32 test/decorators/test_slop.rb
nokogiri-1.6.2.rc3-java test/decorators/test_slop.rb
nokogiri-1.6.2.rc2 test/decorators/test_slop.rb
nokogiri-1.6.2.rc2-x86-mingw32 test/decorators/test_slop.rb
nokogiri-1.6.2.rc2-x64-mingw32 test/decorators/test_slop.rb
nokogiri-1.6.2.rc2-java test/decorators/test_slop.rb
nokogiri-1.6.2.rc1 test/decorators/test_slop.rb
nokogiri-1.6.2.rc1-x86-mingw32 test/decorators/test_slop.rb
nokogiri-1.6.2.rc1-x64-mingw32 test/decorators/test_slop.rb
nokogiri-1.6.2.rc1-java test/decorators/test_slop.rb
vtd_xml-0.0.3-java bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/decorators/test_slop.rb
nokogiri-1.6.1 test/decorators/test_slop.rb