Sha256: 500124e9cd8612c4c52f22d4093dbcbfb3ad41cdcbfc8b9b24b17e4068e7d937
Contents?: true
Size: 523 Bytes
Versions: 30
Compression:
Stored size: 523 Bytes
Contents
# -*- coding: utf-8 -*- require 'helper' require 'write_xlsx/workbook' require 'write_xlsx/worksheet' require 'stringio' class TestWritePhoneticPr < Test::Unit::TestCase def setup @workbook = WriteXLSX.new(StringIO.new) @worksheet = @workbook.add_worksheet('') end def test_write_phonetic_pr @worksheet.__send__('write_phonetic_pr') result = @worksheet.instance_variable_get(:@writer).string expected = '<phoneticPr fontId="1" type="noConversion"/>' assert_equal(expected, result) end end
Version data entries
30 entries across 30 versions & 1 rubygems