Sha256: aebddaa97dcb1f1f6ba81116594df8fdae90282c761a8cb18d1458bb8791e40d

Contents?: true

Size: 668 Bytes

Versions: 5

Compression:

Stored size: 668 Bytes

Contents

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

class TestRegressionBackground06 < Minitest::Test
  def setup
    setup_dir_var
  end

  def teardown
    @tempfile.close(true)
  end

  def test_background06
    @xlsx = 'background06.xlsx'
    workbook  = WriteXLSX.new(@io)
    worksheet = workbook.add_worksheet

    worksheet.insert_image('E9', 'test/regression/images/logo.jpg')
    worksheet.set_background('test/regression/images/logo.jpg')

    worksheet.set_header(
      '&C&G', nil, :image_center => 'test/regression/images/blue.jpg'
    )

    workbook.close
    compare_for_regression(
      [],
      'xl/worksheets/sheet1.xml' => ['<pageSetup']
    )
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
write_xlsx-1.09.4 test/regression/test_background06.rb
write_xlsx-1.09.3 test/regression/test_background06.rb
write_xlsx-1.09.2 test/regression/test_background06.rb
write_xlsx-1.09.1 test/regression/test_background06.rb
write_xlsx-1.09.0 test/regression/test_background06.rb