Sha256: ece13f8ab1fbfa4d5a85cd192cacad85f184e9a38e93783a1d40d6f08a82f6ac
Contents?: true
Size: 662 Bytes
Versions: 14
Compression:
Stored size: 662 Bytes
Contents
# -*- coding: utf-8 -*- require 'helper' class TestRegressionComment13 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_comment13 @xlsx = 'comment13.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet worksheet.write('A1', 'Foo') worksheet.write_comment( 'B2', 'Some text', :font => 'Courier', :font_size => 10, :font_family => 3 ) # Set the author to match the target XLSX file. worksheet.comments_author = 'John' workbook.close compare_for_regression( ['xl/styles.xml'], {} ) end end
Version data entries
14 entries across 14 versions & 1 rubygems