Sha256: dfbddeaa84c17732438347840e61369a6172c34a31d63ce3d718d519a4bae7c6

Contents?: true

Size: 435 Bytes

Versions: 18

Compression:

Stored size: 435 Bytes

Contents

 require 'tc_helper.rb'

 class TestNumDataSource < Test::Unit::TestCase

  def setup
    @data_source = Axlsx::NumDataSource.new :data => ["1", "2", "3"]
  end

  def test_to_xml_string_strLit
    str = '<?xml version="1.0" encoding="UTF-8"?>'
    str << '<c:chartSpace xmlns:c="' << Axlsx::XML_NS_C << '">'
    str << @data_source.to_xml_string
    doc = Nokogiri::XML(str)
    assert_equal(doc.xpath("//c:val").size, 1)
  end

 end

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
caxlsx-2.0.2 test/drawing/tc_data_source.rb
axlsx-2.0.1 test/drawing/tc_data_source.rb
axlsx-2.0.0 test/drawing/tc_data_source.rb
axlsx-1.3.6 test/drawing/tc_data_source.rb
axlsx-1.3.5 test/drawing/tc_data_source.rb
axlsx-1.3.4 test/drawing/tc_data_source.rb
axlsx-1.3.3 test/drawing/tc_data_source.rb
axlsx-1.3.2 test/drawing/tc_data_source.rb
axlsx-1.3.1 test/drawing/tc_data_source.rb
axlsx-1.2.3 test/drawing/tc_data_source.rb
axlsx-1.2.2 test/drawing/tc_data_source.rb
axlsx-1.2.1 test/drawing/tc_data_source.rb
axlsx-1.2.0 test/drawing/tc_data_source.rb
axlsx-1.1.8 test/drawing/tc_data_source.rb
axlsx-1.1.7 test/drawing/tc_data_source.rb
axlsx-1.1.6 test/drawing/tc_data_source.rb
axlsx-1.1.5 test/drawing/tc_data_source.rb
axlsx-1.1.4 test/drawing/tc_data_source.rb