Sha256: 2776d7ebd3d258dec390c77d10d998be9818d868b12aa7460a4b7f8465daf322
Contents?: true
Size: 800 Bytes
Versions: 10
Compression:
Stored size: 800 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.set_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
10 entries across 10 versions & 1 rubygems