Sha256: 51be2e14c2369e1c14f633b8c2635005dab649d28d3f97900385ef185a9071cb
Contents?: true
Size: 678 Bytes
Versions: 1
Compression:
Stored size: 678 Bytes
Contents
# -*- coding: utf-8 -*- require 'helper' require 'write_xlsx/workbook' require 'write_xlsx/package/vml' class TestWriteFill < Test::Unit::TestCase def test_write_comment_fill vml = Writexlsx::Package::Vml.new vml.__send__('write_comment_fill') result = vml.instance_variable_get(:@writer).string expected = '<v:fill color2="#ffffe1"/>' assert_equal(expected, result) end def test_write_button_fill vml = Writexlsx::Package::Vml.new vml.__send__('write_button_fill') result = vml.instance_variable_get(:@writer).string expected = '<v:fill color2="buttonFace [67]" o:detectmouseclick="t"/>' 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_fill.rb |