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
gss-0.0.7 vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/decorators/test_slop.rb
gss-0.0.6 vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/decorators/test_slop.rb
gss-0.0.5 vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/decorators/test_slop.rb
vagrant-tiktalik-0.0.3 vendor/bundle/ruby/2.0.0/gems/nokogiri-1.6.2.1/test/decorators/test_slop.rb
nokogiri-1.6.3.rc3 test/decorators/test_slop.rb
nokogiri-1.6.3.rc3-x86-mingw32 test/decorators/test_slop.rb
nokogiri-1.6.3.rc3-x64-mingw32 test/decorators/test_slop.rb
nokogiri-1.6.3.rc3-java test/decorators/test_slop.rb
whos_dated_who-0.1.0 vendor/bundle/gems/nokogiri-1.6.2.1/test/decorators/test_slop.rb
nokogiri-1.6.3.rc2 test/decorators/test_slop.rb
nokogiri-1.6.3.rc2-x86-mingw32 test/decorators/test_slop.rb
nokogiri-1.6.3.rc2-x64-mingw32 test/decorators/test_slop.rb
nokogiri-1.6.3.rc2-java test/decorators/test_slop.rb
whos_dated_who-0.0.1 vendor/bundle/gems/nokogiri-1.6.2.1/test/decorators/test_slop.rb
nokogiri-1.6.3.rc1 test/decorators/test_slop.rb
nokogiri-1.6.3.rc1-x86-mingw32 test/decorators/test_slop.rb
nokogiri-1.6.3.rc1-x64-mingw32 test/decorators/test_slop.rb
nokogiri-1.6.3.rc1-java test/decorators/test_slop.rb
nokogiri-1.6.2.1 test/decorators/test_slop.rb
nokogiri-1.6.2.1-x86-mingw32 test/decorators/test_slop.rb