summaryrefslogtreecommitdiffstats
path: root/spec/unit/string/node_spec.rb
diff options
context:
space:
mode:
authorDaniel Pittman <daniel@puppetlabs.com>2011-03-26 00:12:17 -0700
committerDaniel Pittman <daniel@puppetlabs.com>2011-03-28 10:45:34 -0700
commitb859baa04737644e40002f511c5941d002a956e3 (patch)
treef8f4d581c3b0445df836d5e55945f62547239598 /spec/unit/string/node_spec.rb
parent88aeb04a50d8997b5e1e0ed7a5a2239508b174ee (diff)
downloadpuppet-b859baa04737644e40002f511c5941d002a956e3.tar.gz
puppet-b859baa04737644e40002f511c5941d002a956e3.tar.xz
puppet-b859baa04737644e40002f511c5941d002a956e3.zip
MAINT: the API is officially named "string" as of this moment.
Now that we have settled on the final public name for the API, "Puppet::String", mass-rename and mass-edit all the files to follow. Reviewed-By: Randall Hansen <randall@puppetlabs.com>
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