Sha256: 805352b014925bd2e0b4043d0127c59428fed1eb85960ba5eb3c0528d2165959
Contents?: true
Size: 437 Bytes
Versions: 7
Compression:
Stored size: 437 Bytes
Contents
require 'test/unit' require 'axlsx.rb' class TestBorderPr < Test::Unit::TestCase def setup @bpr = Axlsx::BorderPr.new end def teardown end def test_valid_document schema = Nokogiri::XML::Schema(File.open(Axlsx::SML_XSD)) doc = Nokogiri::XML(@styles.to_xml) errors = [] schema.validate(doc).each do |error| errors.push error puts error.message end assert(errors.size == 0) end
Version data entries
7 entries across 7 versions & 1 rubygems