Sha256: 0972cbfb503634cf60f71e07ac71a5b8649340af01d91ac39aa28a66ba905d54
Contents?: true
Size: 637 Bytes
Versions: 19
Compression:
Stored size: 637 Bytes
Contents
# -*- coding: utf-8 -*- require 'helper' class TestRegressionComment11 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_comment11 @xlsx = 'comment11.xlsx' workbook = WriteXLSX.new(@io) worksheet1 = workbook.add_worksheet worksheet2 = workbook.add_worksheet worksheet2.write('A1', 'Foo') worksheet2.write_comment('B2', 'Some text') # Set the author to match the target XLSX file. worksheet2.comments_author = 'John' workbook.close compare_for_regression( [], {'xl/workbook.xml' => ['<workbookView']} ) end end
Version data entries
19 entries across 19 versions & 1 rubygems