Sha256: e5a6c489ad72c03c66fa4450afac709e88d8ec3b56028b6ff00567108291a59f

Contents?: true

Size: 805 Bytes

Versions: 10

Compression:

Stored size: 805 Bytes

Contents

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

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

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

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

    worksheet.set_footer('&L&P', nil,
                         { :scale_with_doc => 0,
                           :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_header03.rb
write_xlsx-0.85.4 test/regression/test_header03.rb
write_xlsx-0.85.3 test/regression/test_header03.rb
write_xlsx-0.85.2 test/regression/test_header03.rb
write_xlsx-0.85.1 test/regression/test_header03.rb
write_xlsx-0.83.0 test/regression/test_header03.rb
write_xlsx-0.81.1 test/regression/test_header03.rb
write_xlsx-0.81.0 test/regression/test_header03.rb
write_xlsx-0.80.0 test/regression/test_header03.rb
write_xlsx-0.79.0 test/regression/test_header03.rb