diff options
Diffstat (limited to 'spec')
| -rwxr-xr-x | spec/unit/network/formats.rb | 10 |
1 files changed, 10 insertions, 0 deletions
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) |
