test/package/table/test_table08.rb in write_xlsx-0.58.0 vs test/package/table/test_table08.rb in write_xlsx-0.59.0
- old
+ new
@@ -22,11 +22,10 @@
{:total_function => 'count'}
]
}
)
- table = Writexlsx::Package::Table.new
- table.properties = @worksheet.tables[0]
+ table = @worksheet.tables[0]
table.__send__(:assemble_xml_file)
result = got_to_array(table.instance_variable_get(:@writer).string)
assert_equal(expected, result)