diff options
| author | Luke Kanies <luke@puppetlabs.com> | 2011-03-02 17:32:07 -0800 |
|---|---|---|
| committer | Luke Kanies <luke@puppetlabs.com> | 2011-03-02 17:32:07 -0800 |
| commit | ece0c8e8defeec7af5aa28bb583bbb69aaba79a9 (patch) | |
| tree | 807f24f073e20bdf806a77c21e588c0c3a7cce25 /spec/unit/interface | |
| parent | 63263a41ab361985845ef514a3d1247a41f46475 (diff) | |
| download | puppet-ece0c8e8defeec7af5aa28bb583bbb69aaba79a9.tar.gz puppet-ece0c8e8defeec7af5aa28bb583bbb69aaba79a9.tar.xz puppet-ece0c8e8defeec7af5aa28bb583bbb69aaba79a9.zip | |
Fixing #16 - nodes default to yaml
We don't have json support for node output yet.
Signed-off-by: Luke Kanies <luke@puppetlabs.com>
Diffstat (limited to 'spec/unit/interface')
| -rw-r--r-- | spec/unit/interface/node_spec.rb | 4 |
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 |
