test/package/app/test_app01.rb in write_xlsx-0.81.1 vs test/package/app/test_app01.rb in write_xlsx-0.83.0
- old
+ new
@@ -2,10 +2,10 @@
require 'helper'
require 'write_xlsx/package/app'
class TestApp01 < Test::Unit::TestCase
def test_assemble_xml_file
- @obj = Writexlsx::Package::App.new
+ @obj = Writexlsx::Package::App.new(nil)
@obj.add_part_name('Sheet1')
@obj.add_heading_pair(['Worksheets', 1])
@obj.assemble_xml_file
result = got_to_array(@obj.xml_str)
expected = expected_to_array(<<EOS