]> gitweb.fluxo.info Git - puppet-stdlib.git/commit
(#3) Add simple unit test for anchor type
authorJeff McCune <jeff@puppetlabs.com>
Wed, 15 Jun 2011 16:43:22 +0000 (09:43 -0700)
committerJeff McCune <jeff@puppetlabs.com>
Wed, 15 Jun 2011 16:44:24 +0000 (09:44 -0700)
commitf13f3c2916c2857a3949d5ac6b884c045804ebac
tree074d6622cf6444e0bef8fec79ecfa1bb24180c6a
parentab70663d159ff7b59d116ed69b9a455cb22847c4
(#3) Add simple unit test for anchor type

Unlike the whit type the anchor type derives from, we are not hacking
the stringify method.  We expect the resource to be named simply
Anchor[foo::bar] where the name is "foo::bar".
spec/unit/puppet/type/anchor_spec.rb [new file with mode: 0644]