Sha256: fb40fa95186329412abfe8aad876bfcd1e12a22e73d58e298b38658f4101037b

Contents?: true

Size: 735 Bytes

Versions: 7

Compression:

Stored size: 735 Bytes

Contents

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

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

  def teardown
    @tempfile.close(true)
  end

  def test_header03
    @xlsx = 'header03.xlsx'
    workbook    = WriteXLSX.new(@io)
    worksheet   = workbook.add_worksheet

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

    workbook.close

    compare_for_regression(
                                [],
                                {
                                  'xl/worksheets/sheet1.xml' => [ '<pageMargins', '<pageSetup' ]
                                })
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
write_xlsx-0.86.0 test/regression/test_header03.rb
write_xlsx-0.85.11 test/regression/test_header03.rb
write_xlsx-0.85.10 test/regression/test_header03.rb
write_xlsx-0.85.9 test/regression/test_header03.rb
write_xlsx-0.85.8 test/regression/test_header03.rb
write_xlsx-0.85.7 test/regression/test_header03.rb
write_xlsx-0.85.6 test/regression/test_header03.rb