diff options
| author | Randy Morgan <[email protected]> | 2012-04-23 09:38:57 +0900 |
|---|---|---|
| committer | Randy Morgan <[email protected]> | 2012-04-23 09:38:57 +0900 |
| commit | e044cfd495d8d7335b44b48d91f1f63be41dad26 (patch) | |
| tree | 03a61c0d1b07473e6f4b0a722e103add530ac6b1 /test | |
| parent | 372fb7b2fe3408e8aab9b1b4ae5285aa98a8a945 (diff) | |
| parent | a86acda991fda771ebc41011f9d7895bf46c8c1d (diff) | |
| download | caxlsx-e044cfd495d8d7335b44b48d91f1f63be41dad26.tar.gz caxlsx-e044cfd495d8d7335b44b48d91f1f63be41dad26.zip | |
Merge branch 'master' of github.com:randym/axlsx
Diffstat (limited to 'test')
| -rw-r--r-- | test/workbook/worksheet/tc_conditional_formatting.rb | 2 | ||||
| -rw-r--r-- | test/workbook/worksheet/tc_icon_set.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/workbook/worksheet/tc_conditional_formatting.rb b/test/workbook/worksheet/tc_conditional_formatting.rb index 0dcb1a7c..6b2c6c3b 100644 --- a/test/workbook/worksheet/tc_conditional_formatting.rb +++ b/test/workbook/worksheet/tc_conditional_formatting.rb @@ -51,7 +51,7 @@ class TestConditionalFormatting < Test::Unit::TestCase cfs.last.rules.last.type = :iconSet doc = Nokogiri::XML.parse(cfs.last.to_xml_string) - assert_equal(doc.xpath(".//conditionalFormatting//cfRule//iconSet//cfvo").size, 2) + assert_equal(doc.xpath(".//conditionalFormatting//cfRule//iconSet//cfvo").size, 3) assert_equal(doc.xpath(".//conditionalFormatting//cfRule//iconSet[@iconSet='5Rating']").size, 1) end diff --git a/test/workbook/worksheet/tc_icon_set.rb b/test/workbook/worksheet/tc_icon_set.rb index bb90276c..5c442068 100644 --- a/test/workbook/worksheet/tc_icon_set.rb +++ b/test/workbook/worksheet/tc_icon_set.rb @@ -39,7 +39,7 @@ class TestIconSet < Test::Unit::TestCase def test_to_xml_string doc = Nokogiri::XML.parse(@icon_set.to_xml_string) assert_equal(doc.xpath(".//iconSet[@iconSet='3TrafficLights1'][@percent='true'][@reverse='false'][@showValue='true']").size, 1) - assert_equal(doc.xpath(".//iconSet//cfvo").size, 2) + assert_equal(doc.xpath(".//iconSet//cfvo").size, 3) end end |
