Sha256: 8146f82d77df2000d6c90e38f107f8f5f5bc53279687a7048986c8ba81e8fccd

Contents?: true

Size: 706 Bytes

Versions: 10

Compression:

Stored size: 706 Bytes

Contents

# -*- coding: utf-8 -*-
require 'helper'

class TestRegressionHeader02 < Test::Unit::TestCase
  def setup
    setup_dir_var
  end

  def teardown
    File.delete(@xlsx) if File.exist?(@xlsx)
  end

  def test_header02
    @xlsx = 'header02.xlsx'
    workbook    = WriteXLSX.new(@xlsx)
    worksheet   = workbook.add_worksheet

    worksheet.set_header('&L&P', nil, { :align_with_margins => 0 } )

    workbook.close

    compare_xlsx_for_regression(File.join(@regression_output, @xlsx), @xlsx,
                                [],
                                {
                                  'xl/worksheets/sheet1.xml' => [ '<pageMargins', '<pageSetup' ]
                                })
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
write_xlsx-0.85.5 test/regression/test_header02.rb
write_xlsx-0.85.4 test/regression/test_header02.rb
write_xlsx-0.85.3 test/regression/test_header02.rb
write_xlsx-0.85.2 test/regression/test_header02.rb
write_xlsx-0.85.1 test/regression/test_header02.rb
write_xlsx-0.83.0 test/regression/test_header02.rb
write_xlsx-0.81.1 test/regression/test_header02.rb
write_xlsx-0.81.0 test/regression/test_header02.rb
write_xlsx-0.80.0 test/regression/test_header02.rb
write_xlsx-0.79.0 test/regression/test_header02.rb