1 require 'spec_helper_acceptance'
3 describe 'anchor type' do
7 anchor { 'anchored::begin': }
8 ~> anchor { 'anchored::end': }
13 ~> class { 'anchored': }
14 ~> anchor { 'final': }
19 it 'effects proper chaining of resources' do
20 apply_manifest(pp, :catch_failures => true) do |r|
21 expect(r.stdout).to match(%r{Anchor\[final\]: Triggered 'refresh'})