test/package/table/test_table03.rb in write_xlsx-0.86.0 vs test/package/table/test_table03.rb in write_xlsx-0.87.0

- old
+ new

@@ -1,11 +1,11 @@ # -*- coding: utf-8 -*- require 'helper' require 'write_xlsx' require 'stringio' -class TestTable03 < Test::Unit::TestCase +class TestTable03 < Minitest::Test def setup workbook = WriteXLSX.new(StringIO.new) @worksheet = workbook.add_worksheet end @@ -18,10 +18,10 @@ :first_column => 1, :last_column => 1, :banded_columns => 1 } ) - @worksheet.__send__(:prepare_tables, 1) + @worksheet.__send__(:prepare_tables, 1, {}) table = @worksheet.tables[0] table.__send__(:assemble_xml_file) result = got_to_array(table.instance_variable_get(:@writer).string)