1 require 'spec_helper_acceptance'
3 describe 'anchor type' do
5 it 'should effect proper chaining of resources' do
8 anchor { 'anchored::begin': }
9 ~> anchor { 'anchored::end': }
14 ~> class { 'anchored': }
15 ~> anchor { 'final': }
21 apply_manifest(pp, :catch_failures => true) do |r|
22 expect(r.stdout).to match(/Anchor\[final\]: Triggered 'refresh'/)