Sha256: ab41b271a14935b8145a04469342f6d47f3057ecc30a30e9835f7f3f9addb76e

Contents?: true

Size: 563 Bytes

Versions: 7

Compression:

Stored size: 563 Bytes

Contents

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

class TestRegressionTable07 < Test::Unit::TestCase
  def setup
    setup_dir_var
  end

  def teardown
    @tempfile.close(true)
  end

  def test_table07
    @xlsx = 'table07.xlsx'
    workbook  = WriteXLSX.new(@io)
    worksheet = workbook.add_worksheet

    # Set the column width to match the taget worksheet.
    worksheet.set_column('C:F', 10.288)

    # Add the table.
    worksheet.add_table('C3:F13', {:header_row => 0})

    worksheet.write('A1', 'Foo')

    workbook.close
    compare_for_regression
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
write_xlsx-0.86.0 test/regression/test_table07.rb
write_xlsx-0.85.11 test/regression/test_table07.rb
write_xlsx-0.85.10 test/regression/test_table07.rb
write_xlsx-0.85.9 test/regression/test_table07.rb
write_xlsx-0.85.8 test/regression/test_table07.rb
write_xlsx-0.85.7 test/regression/test_table07.rb
write_xlsx-0.85.6 test/regression/test_table07.rb