diff options
| author | Randy Morgan <[email protected]> | 2012-10-14 08:56:42 +0900 |
|---|---|---|
| committer | Randy Morgan <[email protected]> | 2012-10-14 08:56:42 +0900 |
| commit | 8a75ef7e94d6f56d5ba1bff6f1e9cd1fa00819c2 (patch) | |
| tree | 405cb22c1b1a7dc6c170c9b49ee45a69fee070d5 /test | |
| parent | 99ab4e36d3d777943b471d854c0729ba6c040df0 (diff) | |
| download | caxlsx-8a75ef7e94d6f56d5ba1bff6f1e9cd1fa00819c2.tar.gz caxlsx-8a75ef7e94d6f56d5ba1bff6f1e9cd1fa00819c2.zip | |
refactored Col to use serialized attributes and correct camel cased outline_level attribute
An alias to outlineLevel is provided for backwards compatability
Diffstat (limited to 'test')
| -rw-r--r-- | test/workbook/worksheet/tc_col.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/workbook/worksheet/tc_col.rb b/test/workbook/worksheet/tc_col.rb index 3eb033be..9621eb14 100644 --- a/test/workbook/worksheet/tc_col.rb +++ b/test/workbook/worksheet/tc_col.rb @@ -7,7 +7,7 @@ class TestCol < Test::Unit::TestCase end def test_initialize - options = { :width => 12, :collapsed => true, :hidden => true, :outlineLevel => 1, :phonetic => true, :style => 1} + options = { :width => 12, :collapsed => true, :hidden => true, :outline_level => 1, :phonetic => true, :style => 1} col = Axlsx::Col.new 0, 0, options options.each{ |key, value| assert_equal(col.send(key.to_sym), value) } |
