Use anchor instead of notify
This commit is contained in:
parent
15d0b849d5
commit
a63f3b6eef
3 changed files with 5 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
# This is a placeholder class.
|
||||
class template {
|
||||
notify { 'Hello_World': }
|
||||
anchor { 'Hello_World': }
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@ require 'spec_helper'
|
|||
# Check other boxen modules for examples
|
||||
# or read http://rspec-puppet.com/tutorial/
|
||||
describe 'template' do
|
||||
it do
|
||||
should contain_notify('Hello_World')
|
||||
end
|
||||
it do
|
||||
should contain_anchor('Hello_World')
|
||||
end
|
||||
end
|
||||
|
|
1
spec/fixtures/Puppetfile
vendored
1
spec/fixtures/Puppetfile
vendored
|
@ -1 +1,2 @@
|
|||
mod 'boxen', '0.0.26', :github_tarball => 'boxen/puppet-boxen'
|
||||
mod 'stdlib', '3.0.0', :github_tarball => "puppetlabs/puppetlabs-stdlib"
|
||||
|
|
Loading…
Reference in a new issue