Sha256: 3b5c5b276e0cf666c964922c9ff4891b50fd7ec2c142e6dccb9d465e2f30439c

Contents?: true

Size: 458 Bytes

Versions: 7

Compression:

Stored size: 458 Bytes

Contents

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

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

  def teardown
    @tempfile.close(true)
  end

  def test_data_validation01
    @xlsx = 'data_validation01.xlsx'
    workbook  = WriteXLSX.new(@io)
    worksheet = workbook.add_worksheet

    worksheet.data_validation('C2', validate: 'list', value: ['Foo', 'Bar', 'Baz'])
    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_data_validation01.rb
write_xlsx-0.85.11 test/regression/test_data_validation01.rb
write_xlsx-0.85.10 test/regression/test_data_validation01.rb
write_xlsx-0.85.9 test/regression/test_data_validation01.rb
write_xlsx-0.85.8 test/regression/test_data_validation01.rb
write_xlsx-0.85.7 test/regression/test_data_validation01.rb
write_xlsx-0.85.6 test/regression/test_data_validation01.rb