projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
upgrade to stdlib 4.6.1
[mirror/dsa-puppet.git]
/
3rdparty
/
modules
/
stdlib
/
spec
/
unit
/
puppet
/
type
/
anchor_spec.rb
diff --git a/3rdparty/modules/stdlib/spec/unit/puppet/type/anchor_spec.rb
b/3rdparty/modules/stdlib/spec/unit/puppet/type/anchor_spec.rb
new file mode 100755
(executable)
index 0000000..
c738a27
--- /dev/null
+++ b/
3rdparty/modules/stdlib/spec/unit/puppet/type/anchor_spec.rb
@@ -0,0
+1,11
@@
+#!/usr/bin/env ruby
+
+require 'spec_helper'
+
+anchor = Puppet::Type.type(:anchor).new(:name => "ntp::begin")
+
+describe anchor do
+ it "should stringify normally" do
+ expect(anchor.to_s).to eq("Anchor[ntp::begin]")
+ end
+end