Sign in
apache
/
incubator-ambari
/
38d8eba1c337325bf4cdc3bf18c4f554af4026ef
/
.
/
branch-1.2
/
ambari-agent
/
src
/
main
/
puppet
/
modules
/
stdlib
/
spec
/
unit
/
puppet
/
type
/
anchor_spec.rb
blob: 2030b83f2e34715179ed356a463e801684824fe4 [
file
] [
log
] [
blame
]
#!/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