Sha256: abd9eba9c2137e3c14c34c3d59603ceb99e0361b266ac2d5c529d7dbb266273d
Contents?: true
Size: 673 Bytes
Versions: 10
Compression:
Stored size: 673 Bytes
Contents
# -*- coding: utf-8 -*- require 'helper' class TestRegressionHeaderImage19 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_header_image19 @xlsx = 'header_image19.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet worksheet.insert_image('E9', 'test/regression/images/red.jpg') worksheet.set_header( '&L&G', nil, { :image_left => 'test/regression/images/red.jpg' } ) workbook.close compare_for_regression( [], { 'xl/worksheets/sheet1.xml' => [ '<pageMargins', '<pageSetup' ] } ) end end
Version data entries
10 entries across 10 versions & 1 rubygems