From af521fade9bf64704bab00ddf5d81aa1f987fb7e Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Wed, 7 Apr 2010 23:10:21 -0700 Subject: Adding #3518 - basic dot format support This allows you to ask for a node's catalog in dot format, for inputting into graphviz et al. Signed-off-by: Luke Kanies --- spec/unit/network/formats.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'spec') diff --git a/spec/unit/network/formats.rb b/spec/unit/network/formats.rb index 7b0c0adba..78b35fd13 100755 --- a/spec/unit/network/formats.rb +++ b/spec/unit/network/formats.rb @@ -263,6 +263,16 @@ describe "Puppet Network Format" do end end + describe "dot" do + before do + @dot = Puppet::Network::FormatHandler.format(:dot) + end + + it "should have its mimetype set to text/dot" do + @dot.mime.should == "text/dot" + end + end + describe Puppet::Network::FormatHandler.format(:raw) do before do @format = Puppet::Network::FormatHandler.format(:raw) -- cgit