projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
All these files that we ignore on heavy exim hosts have not changed in the last 4...
[mirror/dsa-puppet.git]
/
3rdparty
/
modules
/
stdlib
/
spec
/
acceptance
/
anchor_spec.rb
diff --git
a/3rdparty/modules/stdlib/spec/acceptance/anchor_spec.rb
b/3rdparty/modules/stdlib/spec/acceptance/anchor_spec.rb
old mode 100755
(executable)
new mode 100644
(file)
index
24a9064
..
3cf0c92
--- a/
3rdparty/modules/stdlib/spec/acceptance/anchor_spec.rb
+++ b/
3rdparty/modules/stdlib/spec/acceptance/anchor_spec.rb
@@
-2,8
+2,7
@@
require 'spec_helper_acceptance'
describe 'anchor type' do
describe 'success' do
describe 'anchor type' do
describe 'success' do
- it 'should effect proper chaining of resources' do
- pp = <<-EOS
+ pp = <<-DOC
class anchored {
anchor { 'anchored::begin': }
~> anchor { 'anchored::end': }
class anchored {
anchor { 'anchored::begin': }
~> anchor { 'anchored::end': }
@@
-16,10
+15,10
@@
describe 'anchor type' do
}
include anchorrefresh
}
include anchorrefresh
- EOS
-
+ DOC
+ it 'effects proper chaining of resources' do
apply_manifest(pp, :catch_failures => true) do |r|
apply_manifest(pp, :catch_failures => true) do |r|
- expect(r.stdout).to match(
/Anchor\[final\]: Triggered 'refresh'/
)
+ expect(r.stdout).to match(
%r{Anchor\[final\]: Triggered 'refresh'}
)
end
end
end
end
end
end