test/test_examples.rb in ruby-graphviz-1.0.0 vs test/test_examples.rb in ruby-graphviz-1.0.1
- old
+ new
@@ -60,9 +60,13 @@
def test_sample55
assert_output_pattern(/\Agraph G \{.*\}\n\Z/m, '55')
end
+ def test_sample62
+ assert_output_pattern(/\ANode.*\n\Z/m, '62')
+ end
+
#
# for every sample file in the examples directory that matches the
# pattern ("sample01.rb, sample02.rb, etc) make a corresponding
# test method: test_sample01(), test_sample02(), etc. To actually define
# this methods in this way instead of just iterating over the list of files