Sha256: 94cb792504d979915ff1e0dd5143bc734c99d5bc90637e1d3055e446d0ced03c

Contents?: true

Size: 507 Bytes

Versions: 2

Compression:

Stored size: 507 Bytes

Contents

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

class TestRegressionHyperlink25 < Minitest::Test
  def setup
    setup_dir_var
  end

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

  def test_hyperlink25
    @xlsx = 'hyperlink25.xlsx'
    workbook  = WriteXLSX.new(@io)
    worksheet = workbook.add_worksheet

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

    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_hyperlink25.rb
write_xlsx-0.89.0 test/regression/test_hyperlink25.rb