Sha256: 9c270d26908204d71bec4b5177f43043012706fa837f04bba237e14d1bc608c4
Contents?: true
Size: 565 Bytes
Versions: 6
Compression:
Stored size: 565 Bytes
Contents
# -*- coding: utf-8 -*- require 'helper' require 'write_xlsx/workbook' require 'write_xlsx/package/vml' class TestWriteShapetype < Test::Unit::TestCase def test_write_shapetype vml = Writexlsx::Package::Vml.new vml.__send__('write_shapetype') result = vml.instance_variable_get(:@writer).string expected = '<v:shapetype id="_x0000_t202" coordsize="21600,21600" o:spt="202" path="m,l,21600r21600,l21600,xe"><v:stroke joinstyle="miter"/><v:path gradientshapeok="t" o:connecttype="rect"/></v:shapetype>' assert_equal(expected, result) end end
Version data entries
6 entries across 6 versions & 1 rubygems