test/test_graph.rb in graph-2.9.1 vs test/test_graph.rb in graph-2.10.0
- old
+ new
@@ -67,9 +67,13 @@
# cheating... but I didn't want to write a more complex assertion
assert_attribute "fontname", "blah", graph.font("blah")
assert_attribute "fontsize", 12, graph.fontsize(12)
end
+ def test_font_color
+ assert_attribute "fontcolor", "white", graph.fontcolor("white")
+ end
+
def test_digraph
g = digraph do
edge "a", "b", "c"
end