Sha256: b4297b229eb8f9c2182f8d64aced37effbe8bf0bb3ce819f2506c88d1e7a81b6
Contents?: true
Size: 415 Bytes
Versions: 2
Compression:
Stored size: 415 Bytes
Contents
require File.join(File.dirname(__FILE__), '..', 'test_helper') class TestXMLName < Test::Unit::TestCase def test_named_books_picked_up named = Library.parse(fixture(:library)) assert named.books assert_equal :book, named.books.first.tag_name end def test_nameless_books_missing nameless = LibraryWithBooksOfUnderivableName.parse(fixture(:library)) assert nameless.novels.empty? end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
Empact-roxml-2.0 | test/unit/xml_name_test.rb |
Empact-roxml-2.1 | test/unit/xml_name_test.rb |