Sha256: a8aa805407295a7f269b127b50aac39ae9a0e20a3fed46e87d14cabae9ff479b

Contents?: true

Size: 538 Bytes

Versions: 10

Compression:

Stored size: 538 Bytes

Contents

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

class TestRegressionImage46 < Minitest::Test
  def setup
    setup_dir_var
  end

  def teardown
    @tempfile.close(true)
  end

  def test_image46
    @xlsx = 'image46.xlsx'
    workbook  = WriteXLSX.new(@io)
    worksheet = workbook.add_worksheet

    worksheet.insert_image(
      'E9',
      File.join(@test_dir, 'regression', 'images/red.png'),
      :object_position => 4, :y_offset => 4
    )

    worksheet.set_row(8, 30, nil, 1)

    workbook.close
    compare_for_regression
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
write_xlsx-1.09.4 test/regression/test_image46.rb
write_xlsx-1.09.3 test/regression/test_image46.rb
write_xlsx-1.09.2 test/regression/test_image46.rb
write_xlsx-1.09.1 test/regression/test_image46.rb
write_xlsx-1.09.0 test/regression/test_image46.rb
write_xlsx-1.08.2 test/regression/test_image46.rb
write_xlsx-1.08.1 test/regression/test_image46.rb
write_xlsx-1.08.0 test/regression/test_image46.rb
write_xlsx-1.07.0 test/regression/test_image46.rb
write_xlsx-1.04.0 test/regression/test_image46.rb