summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/workbook/worksheet/tc_conditional_formatting.rb2
-rw-r--r--test/workbook/worksheet/tc_icon_set.rb2
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