diff options
| author | Daniel Pittman <daniel@puppetlabs.com> | 2011-03-28 10:47:09 -0700 |
|---|---|---|
| committer | Daniel Pittman <daniel@puppetlabs.com> | 2011-03-28 10:47:09 -0700 |
| commit | 2ad8c96935ec53c2d98201ad77fd070dc40dadb6 (patch) | |
| tree | f8f4d581c3b0445df836d5e55945f62547239598 /spec/unit/string/node_spec.rb | |
| parent | 88aeb04a50d8997b5e1e0ed7a5a2239508b174ee (diff) | |
| parent | b859baa04737644e40002f511c5941d002a956e3 (diff) | |
| download | puppet-2ad8c96935ec53c2d98201ad77fd070dc40dadb6.tar.gz puppet-2ad8c96935ec53c2d98201ad77fd070dc40dadb6.tar.xz puppet-2ad8c96935ec53c2d98201ad77fd070dc40dadb6.zip | |
Merge branch 'maint/master/puppet-strings-is-the-official-api-name'
Diffstat (limited to 'spec/unit/string/node_spec.rb')
| -rwxr-xr-x | spec/unit/string/node_spec.rb | 9 |
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 |
