tests/test_dogviz_functionally.rb in dogviz-0.0.20 vs tests/test_dogviz_functionally.rb in dogviz-0.0.21
- old
+ new
@@ -61,7 +61,16 @@
dotspec = File.read outfile('dot')
assert_match /rank=sink/, dotspec
end
+ def test_can_render_auto_nominate_graph
+ sys = system_with_auto_nominate
+ sys.thing 'a'
+ sys.output svg: outfile('svg')
+ end
+
+ def system_with_auto_nominate
+ Dogviz::System.new 'test', auto_nominate: true
+ end
end
end
\ No newline at end of file