diff options
| author | Geremia Taglialatela <[email protected]> | 2023-04-13 13:13:34 +0200 |
|---|---|---|
| committer | Geremia Taglialatela <[email protected]> | 2023-05-03 16:05:17 +0200 |
| commit | 350f7ae9a04f3d39c099cc54f7c04bf31f385d96 (patch) | |
| tree | e84af2a70d3b18a0b94c784338faf48215c9c8a8 /test/workbook/worksheet/tc_sheet_calc_pr.rb | |
| parent | e81036b76e734ab03fac31faafb9732f6b3b2928 (diff) | |
| download | caxlsx-350f7ae9a04f3d39c099cc54f7c04bf31f385d96.tar.gz caxlsx-350f7ae9a04f3d39c099cc54f7c04bf31f385d96.zip | |
Add RuboCop Minitest
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 |
