From b859baa04737644e40002f511c5941d002a956e3 Mon Sep 17 00:00:00 2001 From: Daniel Pittman Date: Sat, 26 Mar 2011 00:12:17 -0700 Subject: 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 --- spec/unit/string/node_spec.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 spec/unit/string/node_spec.rb (limited to 'spec/unit/string/node_spec.rb') 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 -- cgit