Sha256: 6f1b9db23407c538c39baf954ce8a6e0a1a4ce0dc706cfcaae82d00855976ddc
Contents?: true
Size: 615 Bytes
Versions: 7
Compression:
Stored size: 615 Bytes
Contents
# -*- coding: utf-8 -*- require 'helper' class TestRegressionComment10 < Test::Unit::TestCase def setup setup_dir_var end def teardown @tempfile.close(true) end def test_comment10 @xlsx = 'comment10.xlsx' workbook = WriteXLSX.new(@io) 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_for_regression( nil, { 'xl/workbook.xml' => ['<workbookView'] } ) end end
Version data entries
7 entries across 7 versions & 1 rubygems