Sha256: 28215bd236aa4b3b957ce1db8c25af718c691103963c6befd9803f8c79f7e38a
Contents?: true
Size: 524 Bytes
Versions: 7
Compression:
Stored size: 524 Bytes
Contents
# -*- coding: utf-8 -*- require 'helper' require 'write_xlsx/drawing' class TestWriteCChart < Minitest::Test 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, 1) result = @drawing.instance_variable_get(:@writer).string assert_equal(expected, result) end end
Version data entries
7 entries across 7 versions & 1 rubygems