Sha256: 0114e750662e35589e2111b6e6237c16b1ddae0edaa5285e66df252304571ec7

Contents?: true

Size: 601 Bytes

Versions: 10

Compression:

Stored size: 601 Bytes

Contents

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

class TestRegressionImage51 < Minitest::Test
  def setup
    setup_dir_var
  end

  def teardown
    @tempfile.close(true)
  end

  def test_image51
    @xlsx = 'image51.xlsx'
    workbook  = WriteXLSX.new(@io)
    worksheet = workbook.add_worksheet

    worksheet.insert_image(
      'E9',  'test/regression/images/red.png',
      :url => 'https://duckduckgo.com/?q=1'
    )
    worksheet.insert_image(
      'E13', 'test/regression/images/red2.png',
      :url => 'https://duckduckgo.com/?q=2'
    )

    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_image51.rb
write_xlsx-1.09.3 test/regression/test_image51.rb
write_xlsx-1.09.2 test/regression/test_image51.rb
write_xlsx-1.09.1 test/regression/test_image51.rb
write_xlsx-1.09.0 test/regression/test_image51.rb
write_xlsx-1.08.2 test/regression/test_image51.rb
write_xlsx-1.08.1 test/regression/test_image51.rb
write_xlsx-1.08.0 test/regression/test_image51.rb
write_xlsx-1.07.0 test/regression/test_image51.rb
write_xlsx-1.04.0 test/regression/test_image51.rb