Sha256: 1ef7c87a354ea29b7181233172ef6fe66ad8c5b35a526bfb68776273be6ef86d

Contents?: true

Size: 407 Bytes

Versions: 7

Compression:

Stored size: 407 Bytes

Contents

# -*- coding: utf-8 -*-
require 'helper'
require 'write_xlsx/workbook'
require 'write_xlsx/package/vml'

class TestWriteSizeWithCells < Test::Unit::TestCase
  def test_write_size_with_cells
    vml = Writexlsx::Package::Vml.new
    vml.__send__('write_size_with_cells')
    result = vml.instance_variable_get(:@writer).string
    expected = '<x:SizeWithCells/>'
    assert_equal(expected, result)
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
write_xlsx-0.60.0 test/package/vml/test_write_size_with_cells.rb
write_xlsx-0.59.0 test/package/vml/test_write_size_with_cells.rb
write_xlsx-0.58.0 test/package/vml/test_write_size_with_cells.rb
write_xlsx-0.57.0 test/package/vml/test_write_size_with_cells.rb
write_xlsx-0.56.0 test/package/vml/test_write_size_with_cells.rb
write_xlsx-0.55.0 test/package/vml/test_write_size_with_cells.rb
write_xlsx-0.54.0 test/package/vml/test_write_size_with_cells.rb