summaryrefslogtreecommitdiffstats
path: root/spec/unit/face/node_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/face/node_spec.rb')
-rwxr-xr-xspec/unit/face/node_spec.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/unit/face/node_spec.rb b/spec/unit/face/node_spec.rb
new file mode 100755
index 000000000..90d258db9
--- /dev/null
+++ b/spec/unit/face/node_spec.rb
@@ -0,0 +1,8 @@
+#!/usr/bin/env rspec
+require 'spec_helper'
+
+describe Puppet::Face[:node, '0.0.1'] do
+ it "should set its default format to :yaml" do
+ subject.default_format.should == :yaml
+ end
+end