Sha256: 77e6f2873700f5f84a2df830acac29db5b6a2b8c86e3056bbc292d133672bc1c
Contents?: true
Size: 535 Bytes
Versions: 13
Compression:
Stored size: 535 Bytes
Contents
# -*- coding: utf-8 -*- require 'helper' require 'write_xlsx/drawing' class TestWriteCChart < Test::Unit::TestCase def setup @drawing = Writexlsx::Drawing.new end def test_write_c_chart expected = '<c:chart xmlns:c="http://schemas.openxmlformats.org/drawingml/2006/chart" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" r:id="rId1"/>' @drawing.__send__(:write_c_chart, 'rId1') result = @drawing.instance_variable_get(:@writer).string assert_equal(expected, result) end end
Version data entries
13 entries across 13 versions & 1 rubygems