1 require 'spec_helper_acceptance'
3 describe 'anchor type' do
7 anchor { 'anchored::begin': }
8 ~> anchor { 'anchored::end': }
13 ~> class { 'anchored': }
14 ~> anchor { 'final': }
21 it 'applies manifest, anchors resources in correct order' do
22 apply_manifest(pp) do |r|
23 expect(r.stdout).to match(%r{Anchor\[final\]: Triggered 'refresh'})