Sha256: 34217588e27faf5c26ab6895fc60838e1b0e3afe6763148f877b7a2b82419b84

Contents?: true

Size: 510 Bytes

Versions: 2

Compression:

Stored size: 510 Bytes

Contents

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

class TestRegressionHyperlink26 < Minitest::Test
  def setup
    setup_dir_var
  end

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

  def test_hyperlink26
    @xlsx = 'hyperlink26.xlsx'
    workbook  = WriteXLSX.new(@io)
    worksheet = workbook.add_worksheet

    worksheet.write_url('A1', 'http://www.google.com/foo#bar#baz')

    workbook.close

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
write_xlsx-0.90.0 test/regression/test_hyperlink26.rb
write_xlsx-0.89.0 test/regression/test_hyperlink26.rb