Sha256: 700669dba59313b1cd97ce168b8875f0d85feb36c008f7e6bbf6e72122ce9b61

Contents?: true

Size: 601 Bytes

Versions: 4

Compression:

Stored size: 601 Bytes

Contents

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

class TestRegressionHyperlink17 < Minitest::Test
  def setup
    setup_dir_var
  end

  def teardown
    @tempfile.close(true)
  end

  def test_hyperlink17
    @xlsx = 'hyperlink17.xlsx'
    workbook  = WriteXLSX.new(@io)
    worksheet = workbook.add_worksheet

    # Test URL with whitespace.
    worksheet.write_url('A1', 'http://google.com/some link')

    workbook.close
    compare_for_regression(
                                {},
                                { 'xl/workbook.xml' => ['<workbookView'] }
                                )
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
write_xlsx-0.90.0 test/regression/test_hyperlink17.rb
write_xlsx-0.89.0 test/regression/test_hyperlink17.rb
write_xlsx-0.88.0 test/regression/test_hyperlink17.rb
write_xlsx-0.87.0 test/regression/test_hyperlink17.rb