summaryrefslogtreecommitdiffstats
path: root/spec/unit/interface
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/interface')
-rw-r--r--spec/unit/interface/node_spec.rb4
1 files changed, 4 insertions, 0 deletions
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