Sha256: 40ca698fae5b614958b72620d261c83dc160dfa0102b810f60017474d7759dd4

Contents?: true

Size: 398 Bytes

Versions: 42

Compression:

Stored size: 398 Bytes

Contents

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

class TestWriteDiv < Test::Unit::TestCase
  def test_write_div
    vml = Writexlsx::Package::Vml.new
    vml.__send__('write_div', 'left')
    result = vml.instance_variable_get(:@writer).string
    expected = '<div style="text-align:left"></div>'
    assert_equal(expected, result)
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
write_xlsx-0.86.0 test/package/vml/test_write_div.rb
write_xlsx-0.85.11 test/package/vml/test_write_div.rb
write_xlsx-0.85.10 test/package/vml/test_write_div.rb
write_xlsx-0.85.9 test/package/vml/test_write_div.rb
write_xlsx-0.85.8 test/package/vml/test_write_div.rb
write_xlsx-0.85.7 test/package/vml/test_write_div.rb
write_xlsx-0.85.6 test/package/vml/test_write_div.rb
write_xlsx-0.85.5 test/package/vml/test_write_div.rb
write_xlsx-0.85.4 test/package/vml/test_write_div.rb
write_xlsx-0.85.3 test/package/vml/test_write_div.rb
write_xlsx-0.85.2 test/package/vml/test_write_div.rb
write_xlsx-0.85.1 test/package/vml/test_write_div.rb
write_xlsx-0.83.0 test/package/vml/test_write_div.rb
write_xlsx-0.81.1 test/package/vml/test_write_div.rb
write_xlsx-0.81.0 test/package/vml/test_write_div.rb
write_xlsx-0.80.0 test/package/vml/test_write_div.rb
write_xlsx-0.79.0 test/package/vml/test_write_div.rb
write_xlsx-0.78.0 test/package/vml/test_write_div.rb
write_xlsx-0.77.2 test/package/vml/test_write_div.rb
write_xlsx-0.77.1 test/package/vml/test_write_div.rb