Sha256: 49a6abada3dc969312d62c6a14176bdfe984f08ff2fa80dda2ade02731588a6e

Contents?: true

Size: 476 Bytes

Versions: 7

Compression:

Stored size: 476 Bytes

Contents

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

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

  def teardown
    @tempfile.close(true)
  end

  def test_image24
    @xlsx = 'image24.xlsx'
    workbook  = WriteXLSX.new(@io)
    worksheet = workbook.add_worksheet

    worksheet.insert_image('B2',
                           File.join(@test_dir, 'regression', 'images/black_300.png'))

    workbook.close
    compare_for_regression
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
write_xlsx-0.86.0 test/regression/test_image24.rb
write_xlsx-0.85.11 test/regression/test_image24.rb
write_xlsx-0.85.10 test/regression/test_image24.rb
write_xlsx-0.85.9 test/regression/test_image24.rb
write_xlsx-0.85.8 test/regression/test_image24.rb
write_xlsx-0.85.7 test/regression/test_image24.rb
write_xlsx-0.85.6 test/regression/test_image24.rb