diff options
Diffstat (limited to 'test/workbook/worksheet/tc_sheet_calc_pr.rb')
| -rw-r--r-- | test/workbook/worksheet/tc_sheet_calc_pr.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/workbook/worksheet/tc_sheet_calc_pr.rb b/test/workbook/worksheet/tc_sheet_calc_pr.rb index 9473c94b..0d810378 100644 --- a/test/workbook/worksheet/tc_sheet_calc_pr.rb +++ b/test/workbook/worksheet/tc_sheet_calc_pr.rb @@ -6,12 +6,13 @@ class TestSheetCalcPr < Test::Unit::TestCase end def test_full_calc_on_load - assert_equal false, @sheet_calc_pr.full_calc_on_load + refute @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 |
