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
rubyjobbuilderdsl-0.0.2 vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/decorators/test_slop.rb
rubyjobbuilderdsl-0.0.1 vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/decorators/test_slop.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/nokogiri-1.6.3.1-x86-mingw32/test/decorators/test_slop.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/nokogiri-1.6.3.1/test/decorators/test_slop.rb
nokogiri-1.6.4.1 test/decorators/test_slop.rb
nokogiri-1.6.4.1-x86-mingw32 test/decorators/test_slop.rb
nokogiri-1.6.4.1-x64-mingw32 test/decorators/test_slop.rb
nokogiri-1.6.4.1-java test/decorators/test_slop.rb
nokogiri-1.6.4 test/decorators/test_slop.rb
nokogiri-1.6.4-x86-mingw32 test/decorators/test_slop.rb
nokogiri-1.6.4-x64-mingw32 test/decorators/test_slop.rb
nokogiri-1.6.4-java test/decorators/test_slop.rb
nokogiri-1.6.3.1 test/decorators/test_slop.rb
nokogiri-1.6.3.1-x86-mingw32 test/decorators/test_slop.rb
nokogiri-1.6.3.1-x64-mingw32 test/decorators/test_slop.rb
nokogiri-1.6.3.1-java test/decorators/test_slop.rb
nokogiri-1.6.3 test/decorators/test_slop.rb
nokogiri-1.6.3-x86-mingw32 test/decorators/test_slop.rb
nokogiri-1.6.3-x64-mingw32 test/decorators/test_slop.rb
nokogiri-1.6.3-java test/decorators/test_slop.rb