Sha256: 73ee6de162dd25a7eff0eebda71f6603215430f15cac6dd7b352560c382aa465

Contents?: true

Size: 464 Bytes

Versions: 1

Compression:

Stored size: 464 Bytes

Contents

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

class TestWriteTextbox < Test::Unit::TestCase
  def test_write_textbox
    vml = Writexlsx::Package::Vml.new
    vml.__send__('write_comment_textbox')
    result = vml.instance_variable_get(:@writer).string
    expected = '<v:textbox style="mso-direction-alt:auto"><div style="text-align:left"></div></v:textbox>'
    assert_equal(expected, result)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
write_xlsx-0.60.0 test/package/vml/test_write_textbox.rb