Sha256: 5225d148ccb66a4d64c8da40ed05c951d002b04b0799fc02d0b2d193ce74c051

Contents?: true

Size: 384 Bytes

Versions: 6

Compression:

Stored size: 384 Bytes

Contents

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

class TestWriteFill < Test::Unit::TestCase
  def test_write_fill
    vml = Writexlsx::Package::Vml.new
    vml.__send__('write_fill')
    result = vml.instance_variable_get(:@writer).string
    expected = '<v:fill color2="#ffffe1"/>'
    assert_equal(expected, result)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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