diff options
author | Jeff McCune <jeff@puppetlabs.com> | 2011-06-15 11:51:33 -0700 |
---|---|---|
committer | Jeff McCune <jeff@puppetlabs.com> | 2011-06-15 11:51:33 -0700 |
commit | c4e8bb8f97ef558faa8112127c7fd49dc201647b (patch) | |
tree | 074d6622cf6444e0bef8fec79ecfa1bb24180c6a /spec/unit/puppet/type | |
parent | df2398b59c295c3e27cea5e41a76167a797139d4 (diff) | |
parent | f13f3c2916c2857a3949d5ac6b884c045804ebac (diff) |
Merge pull request #4 from jeffmccune/ticket/master/3_anchor_resource_type
Ticket/master/3 anchor resource type
Nan +1'ed on the tech list.
Merging into master.
Diffstat (limited to 'spec/unit/puppet/type')
-rw-r--r-- | spec/unit/puppet/type/anchor_spec.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/spec/unit/puppet/type/anchor_spec.rb b/spec/unit/puppet/type/anchor_spec.rb new file mode 100644 index 0000000..2030b83 --- /dev/null +++ b/spec/unit/puppet/type/anchor_spec.rb @@ -0,0 +1,11 @@ +#!/usr/bin/env ruby + +require 'puppet' + +anchor = Puppet::Type.type(:anchor).new(:name => "ntp::begin") + +describe anchor do + it "should stringify normally" do + anchor.to_s.should == "Anchor[ntp::begin]" + end +end |