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