test/workbook/worksheet/tc_row.rb in axlsx-1.0.9 vs test/workbook/worksheet/tc_row.rb in axlsx-1.0.10a

- old
+ new

@@ -12,9 +12,15 @@ def test_initialize assert(@row.cells.empty?, "no cells by default") assert_equal(@row.worksheet, @ws, "has a reference to the worksheet") end + def test_style + r = @ws.add_row([1,2,3,4,5]) + r.style=1 + r.cells.each { |c| assert_equal(c.style,1) } + end + def test_index assert_equal(@row.index, @row.worksheet.rows.index(@row)) end def test_add_cell