diff options
| author | Randy Morgan <[email protected]> | 2012-03-13 08:42:20 +0900 |
|---|---|---|
| committer | Randy Morgan <[email protected]> | 2012-03-13 08:42:20 +0900 |
| commit | f9f5f3c9486a8202f1639dfe91e4e3410b1ee857 (patch) | |
| tree | a2832450fac1fe52e7f5be0e682f270bfa5cb0ad /test | |
| parent | 02914fa87594b7377cbcb4eb0d69f1acf8fdcdec (diff) | |
| download | caxlsx-f9f5f3c9486a8202f1639dfe91e4e3410b1ee857.tar.gz caxlsx-f9f5f3c9486a8202f1639dfe91e4e3410b1ee857.zip | |
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...
Diffstat (limited to 'test')
| -rw-r--r-- | test/workbook/worksheet/tc_cell.rb | 3 |
1 files changed, 2 insertions, 1 deletions
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 |
