Sha256: c42dce27b2cd45fdececbec49dfc6ee9d7f0f047ffecdf8231a1bc5982bad393
Contents?: true
Size: 782 Bytes
Versions: 10
Compression:
Stored size: 782 Bytes
Contents
# -*- coding: utf-8 -*- require 'helper' class TestRegressionHeaderImage12 < Test::Unit::TestCase def setup setup_dir_var end def teardown File.delete(@xlsx) if File.exist?(@xlsx) end def test_header_image12 @xlsx = 'header_image12.xlsx' workbook = WriteXLSX.new(@xlsx) worksheet = workbook.add_worksheet worksheet.set_header('&L&G', nil, { :image_left => 'test/regression/images/black_300e.png' }) 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