summaryrefslogtreecommitdiffstats
path: root/spec/unit/string/node_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/string/node_spec.rb')
-rwxr-xr-xspec/unit/string/node_spec.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/unit/string/node_spec.rb b/spec/unit/string/node_spec.rb
new file mode 100755
index 000000000..7198efe76
--- /dev/null
+++ b/spec/unit/string/node_spec.rb
@@ -0,0 +1,9 @@
+#!/usr/bin/env ruby
+
+require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper.rb')
+
+describe Puppet::String.define(:node, '0.0.1') do
+ it "should set its default format to :yaml" do
+ subject.default_format.should == :yaml
+ end
+end