Sha256: 671cfe8f9d0bd2fad99f0c9c9df5bea873c188104c27aab12ee58be050166c0c

Contents?: true

Size: 472 Bytes

Versions: 7

Compression:

Stored size: 472 Bytes

Contents

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

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

  def teardown
    @tempfile.close(true)
  end

  def test_image19
    @xlsx = 'image19.xlsx'
    workbook  = WriteXLSX.new(@io)
    worksheet = workbook.add_worksheet

    worksheet.insert_image('C2',
                           File.join(@test_dir, 'regression', 'images/train.jpg'))

    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_image19.rb
write_xlsx-0.85.11 test/regression/test_image19.rb
write_xlsx-0.85.10 test/regression/test_image19.rb
write_xlsx-0.85.9 test/regression/test_image19.rb
write_xlsx-0.85.8 test/regression/test_image19.rb
write_xlsx-0.85.7 test/regression/test_image19.rb
write_xlsx-0.85.6 test/regression/test_image19.rb