Sha256: e05b3c52c8a23fbaf95b4c976f362386fefb6cef20dce981f7c86376ee070b1f
Contents?: true
Size: 647 Bytes
Versions: 19
Compression:
Stored size: 647 Bytes
Contents
# -*- coding: utf-8 -*- require 'helper' class TestUrlsAsStrings < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_urls_as_strings @xlsx = 'urls_as_strings.xlsx' workbook = WriteXLSX.new(@io, strings_to_urls: false) worksheet = workbook.add_worksheet worksheet.write('A1', 'http://www.write_xlsx.com') worksheet.write('A2', 'mailto:write_xlsx@example.com') worksheet.write('A3', 'ftp://ftp.ruby.org/' ) worksheet.write('A4', 'internal:Sheet1!A1' ) worksheet.write('A5', 'external:c:\foo.xlsx') workbook.close compare_for_regression end end
Version data entries
19 entries across 19 versions & 1 rubygems