Sha256: 26bfc2d14fa6f70cac491090c4fcf186bfae96cbf11820e4decd866adcd70608
Contents?: true
Size: 414 Bytes
Versions: 35
Compression:
Stored size: 414 Bytes
Contents
# -*- coding: utf-8 -*- require 'helper' require 'write_xlsx/package/content_types' class TestWriteDefault < Test::Unit::TestCase def test_assemble_xml_file @obj = Writexlsx::Package::ContentTypes.new @obj.__send__('write_default', 'xml', 'application/xml') result = @obj.xml_str expected = '<Default Extension="xml" ContentType="application/xml"/>' assert_equal(expected, result) end end
Version data entries
35 entries across 35 versions & 1 rubygems