From f9f5f3c9486a8202f1639dfe91e4e3410b1ee857 Mon Sep 17 00:00:00 2001 From: Randy Morgan Date: Tue, 13 Mar 2012 08:42:20 +0900 Subject: Patching spec for 1.8.7 add that it fails when hitting map on the range as a param, but hey - support for 1.8.7 is only required by one organization... --- test/workbook/worksheet/tc_cell.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/workbook/worksheet/tc_cell.rb b/test/workbook/worksheet/tc_cell.rb index efaee3ac..04fa28f8 100644 --- a/test/workbook/worksheet/tc_cell.rb +++ b/test/workbook/worksheet/tc_cell.rb @@ -9,7 +9,8 @@ class TestCell < Test::Unit::TestCase p.workbook.styles.add_style :sz=>20 @row = @ws.add_row @c = @row.add_cell 1, :type=>:float, :style=>1 - @ws.add_row (0..26).map { |index| index } + data = (0..26).map { |index| index } + @ws.add_row data @cAA = @ws["AA2"] end -- cgit v1.2.3