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.1-x86-mswin32-60 test/decorators/test_slop.rb
nokogiri-1.6.1-x86-mingw32 test/decorators/test_slop.rb
nokogiri-1.6.1-java test/decorators/test_slop.rb
nokogiri-1.5.11 test/decorators/test_slop.rb
nokogiri-1.5.11-x86-mswin32-60 test/decorators/test_slop.rb
nokogiri-1.5.11-x86-mingw32 test/decorators/test_slop.rb
nokogiri-1.5.11-java test/decorators/test_slop.rb
swipe-rails-0.0.5 vendor/bundle/gems/nokogiri-1.6.0/test/decorators/test_slop.rb
nokogiri-1.6.0-x86-mingw32 test/decorators/test_slop.rb
nokogiri-1.6.0-x86-mswin32-60 test/decorators/test_slop.rb
nokogiri-1.6.0-java test/decorators/test_slop.rb
nokogiri-1.6.0 test/decorators/test_slop.rb
nokogiri-1.5.10-x86-mingw32 test/decorators/test_slop.rb
nokogiri-1.5.10-x86-mswin32-60 test/decorators/test_slop.rb
nokogiri-1.5.10-java test/decorators/test_slop.rb
nokogiri-1.5.10 test/decorators/test_slop.rb
vagrant-shell-0.2.6 vendor/bundle/gems/nokogiri-1.5.9/test/decorators/test_slop.rb
vagrant-shell-0.2.5 vendor/bundle/gems/nokogiri-1.5.9/test/decorators/test_slop.rb
nokogiri-1.6.0.rc1 test/decorators/test_slop.rb
nokogiri-1.5.9-x86-mswin32-60 test/decorators/test_slop.rb