From ece0c8e8defeec7af5aa28bb583bbb69aaba79a9 Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Wed, 2 Mar 2011 17:32:07 -0800 Subject: Fixing #16 - nodes default to yaml We don't have json support for node output yet. Signed-off-by: Luke Kanies --- spec/unit/interface/node_spec.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'spec/unit') diff --git a/spec/unit/interface/node_spec.rb b/spec/unit/interface/node_spec.rb index afb609d2b..63109308d 100644 --- a/spec/unit/interface/node_spec.rb +++ b/spec/unit/interface/node_spec.rb @@ -12,6 +12,10 @@ describe Puppet::Interface.interface(:node) do @interface.should be_instance_of(Puppet::Interface::Indirector) end + it "should set its default format to :yaml" do + @interface.default_format.should == :yaml + end + it "should refer to the 'node' indirection" do @interface.indirection.name.should == :node end -- cgit