Sha256: 3b25af30495d6d468ae8d9f2ce989974e326cecf689db20d9a6f5c7c806bb6b4
Contents?: true
Size: 797 Bytes
Versions: 32
Compression:
Stored size: 797 Bytes
Contents
# -*- coding: utf-8 -*- require 'helper' class TestRegressionComment10 < Test::Unit::TestCase def setup setup_dir_var end def teardown File.delete(@xlsx) if File.exist?(@xlsx) end def test_comment10 @xlsx = 'comment10.xlsx' workbook = WriteXLSX.new(@xlsx) worksheet = workbook.add_worksheet worksheet.write('A1', 'Foo') worksheet.write_comment('B2', 'Some text', :color => 51) # Set the author to match the target XLSX file. worksheet.comments_author = 'John' workbook.close compare_xlsx_for_regression( File.join(@regression_output, @xlsx), @xlsx, nil, { 'xl/workbook.xml' => ['<workbookView'] }) end end
Version data entries
32 entries across 32 versions & 1 rubygems