Sha256: e592fc580e1b5dccc38ad06598c4267620db9cdf630b4c26f57d56303bd35a59
Contents?: true
Size: 428 Bytes
Versions: 35
Compression:
Stored size: 428 Bytes
Contents
# -*- coding: utf-8 -*- require 'helper' require 'write_xlsx/package/content_types' class TestWriteOverride < Test::Unit::TestCase def test_assemble_xml_file @obj = Writexlsx::Package::ContentTypes.new @obj.__send__('write_override', '/docProps/core.xml', 'app...') result = @obj.xml_str expected = '<Override PartName="/docProps/core.xml" ContentType="app..."/>' assert_equal(expected, result) end end
Version data entries
35 entries across 35 versions & 1 rubygems