summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--test/tc_package.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/tc_package.rb b/test/tc_package.rb
index f3802105..0a8410c6 100644
--- a/test/tc_package.rb
+++ b/test/tc_package.rb
@@ -8,8 +8,7 @@ class TestPackage < Test::Unit::TestCase
ws.add_row ['Can', 'we', 'build it?']
ws.add_row ['Yes!', 'We', 'can!']
ws.add_hyperlink :ref => ws.rows.first.cells.last, :location => 'https://github.com/randym'
- # Not sure what this does but no specs break without it and `definedNames` is not in sml.xsd
- # ws.workbook.add_defined_name("#{ws.name}!A1:C2", :name => '_xlnm.Print_Titles', :hidden => true)
+ ws.workbook.add_defined_name("#{ws.name}!A1:C2", :name => '_xlnm.Print_Titles', :hidden => true)
ws.protect_range('A1:C1')
ws.protect_range(ws.rows.last.cells)
ws.add_comment :author => 'alice', :text => 'Hi Bob', :ref => 'A12'