Sha256: b76436130bf0ac390932568b646f50496538678ad901dbaaa933688b11b145fc

Contents?: true

Size: 857 Bytes

Versions: 11

Compression:

Stored size: 857 Bytes

Contents

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

class TestRegressionHyperlink35 < Minitest::Test
  def setup
    setup_dir_var
  end

  def teardown
    @tempfile.close(true) if @tempfile
  end

  def test_hyperlink35
    @xlsx = 'hyperlink35.xlsx'
    workbook  = WriteXLSX.new(@io)
    worksheet = workbook.add_worksheet

    worksheet.insert_image(
      'A1', 'test/regression/images/blue.png',
      :url => 'https://github.com/foo'
    )
    worksheet.insert_image(
      'B3', 'test/regression/images/red.jpg',
      :url => 'https://github.com/bar'
    )
    worksheet.insert_image(
      'D5', 'test/regression/images/yellow.jpg',
      :url => 'https://github.com/baz'
    )
    worksheet.insert_image(
      'F9', 'test/regression/images/grey.png',
      :url => 'https://github.com/boo'
    )

    workbook.close

    compare_for_regression
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

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