Sha256: e2f8a1d8e6360a3228234d35cec65168edafdfd64524a47f2d27debc5b773c79
Contents?: true
Size: 482 Bytes
Versions: 19
Compression:
Stored size: 482 Bytes
Contents
# -*- coding: utf-8 -*- require 'helper' require 'write_xlsx' require 'stringio' class TestWriteSheetFormatPr < Minitest::Test def setup @workbook = WriteXLSX.new(StringIO.new) @worksheet = @workbook.add_worksheet('') end def test_write_sheet_format_pr @worksheet.__send__('write_sheet_format_pr') result = @worksheet.instance_variable_get(:@writer).string expected = '<sheetFormatPr defaultRowHeight="15"/>' assert_equal(expected, result) end end
Version data entries
19 entries across 19 versions & 1 rubygems