Sha256: b5c7b7a5df55a32b83fe98bb29e89a842086060a59ce15e4ca6da7873e34becc
Contents?: true
Size: 464 Bytes
Versions: 16
Compression:
Stored size: 464 Bytes
Contents
require 'tc_helper' class TestSheetCalcPr < Test::Unit::TestCase def setup @sheet_calc_pr = Axlsx::SheetCalcPr.new(:full_calc_on_load => false) end def test_full_calc_on_load assert_equal false, @sheet_calc_pr.full_calc_on_load assert Axlsx::SheetCalcPr.new.full_calc_on_load end def test_to_xml_string doc = Nokogiri::XML(@sheet_calc_pr.to_xml_string) assert_equal 1, doc.xpath('//sheetCalcPr[@fullCalcOnLoad=0]').size end end
Version data entries
16 entries across 16 versions & 6 rubygems