summaryrefslogtreecommitdiffhomepage
path: root/test/tc_package.rb
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2012-12-19 23:38:24 +0900
committerRandy Morgan <[email protected]>2012-12-19 23:38:24 +0900
commitdad342a7bae74a2b628cb9d3ebf440c73e163ad9 (patch)
treebc49fa4f03f6524a8d4fb4852b52ff50c640a5e4 /test/tc_package.rb
parent054de56d12e203a5f0696f98ac9fad3159e7abc1 (diff)
downloadcaxlsx-dad342a7bae74a2b628cb9d3ebf440c73e163ad9.tar.gz
caxlsx-dad342a7bae74a2b628cb9d3ebf440c73e163ad9.zip
changed outline_row to outline_level_row to minimize confusion with borders
Diffstat (limited to 'test/tc_package.rb')
-rw-r--r--test/tc_package.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tc_package.rb b/test/tc_package.rb
index 8a25d946..5fd411e0 100644
--- a/test/tc_package.rb
+++ b/test/tc_package.rb
@@ -7,8 +7,8 @@ class TestPackage < Test::Unit::TestCase
ws = @package.workbook.add_worksheet
ws.add_row ['Can', 'we', 'build it?']
ws.add_row ['Yes!', 'We', 'can!']
- ws.outline_rows 0, 1
- ws.outline_columns 0, 1
+ ws.outline_level_rows 0, 1
+ ws.outline_level_columns 0, 1
ws.add_hyperlink :ref => ws.rows.first.cells.last, :location => 'https://github.com/randym'
ws.workbook.add_defined_name("#{ws.name}!A1:C2", :name => '_xlnm.Print_Titles', :hidden => true)
ws.protect_range('A1:C1')