summaryrefslogtreecommitdiff
path: root/spec/acceptance/any2array_spec.rb
diff options
context:
space:
mode:
authorTravis Fields <travis@puppetlabs.com>2014-10-28 15:31:37 -0700
committerTravis Fields <travis@puppetlabs.com>2014-10-28 15:31:37 -0700
commita6f3f781d195c6fc0b263fc4eb46ef274d360627 (patch)
treeab68f0ce8128817feb77c8b393809e01bad73ff7 /spec/acceptance/any2array_spec.rb
parent9dea09297956f6f7ac0a75e83e9f3e2e5681432c (diff)
parentcfc79e9831fb530b4a34bb79db119969b3a166b3 (diff)
downloadpuppet-stdlib-a6f3f781d195c6fc0b263fc4eb46ef274d360627.tar.gz
puppet-stdlib-a6f3f781d195c6fc0b263fc4eb46ef274d360627.tar.bz2
Merge remote-tracking branch 'origin/4.3.x' back to master
Diffstat (limited to 'spec/acceptance/any2array_spec.rb')
-rwxr-xr-xspec/acceptance/any2array_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/acceptance/any2array_spec.rb b/spec/acceptance/any2array_spec.rb
index 467d6af..18ea4cd 100755
--- a/spec/acceptance/any2array_spec.rb
+++ b/spec/acceptance/any2array_spec.rb
@@ -25,7 +25,7 @@ describe 'any2array function', :unless => UNSUPPORTED_PLATFORMS.include?(fact('o
EOS
apply_manifest(pp, :catch_failures => true) do |r|
- expect(r.stdout).to match(/Notice: Output: testarray/)
+ expect(r.stdout).to match(/Notice: Output: (\[|)test(,\s|)array(\]|)/)
end
end
@@ -42,7 +42,7 @@ describe 'any2array function', :unless => UNSUPPORTED_PLATFORMS.include?(fact('o
EOS
apply_manifest(pp, :catch_failures => true) do |r|
- expect(r.stdout).to match(/Notice: Output: testarray/)
+ expect(r.stdout).to match(/Notice: Output: (\[|)test(,\s|)array(\]|)/)
end
end
end