summaryrefslogtreecommitdiff
path: root/spec/acceptance/any2array_spec.rb
diff options
context:
space:
mode:
authorColleen Murphy <cmurphy@users.noreply.github.com>2014-10-28 15:30:17 -0700
committerColleen Murphy <cmurphy@users.noreply.github.com>2014-10-28 15:30:17 -0700
commitcfc79e9831fb530b4a34bb79db119969b3a166b3 (patch)
treec955c144ec2386607f2ad7ac69edb1bcf44df320 /spec/acceptance/any2array_spec.rb
parent759cbdec886bebb859d8def9323c139faf99c024 (diff)
parent51f1d574d92cf686ac79e57e69d8aff31caf2925 (diff)
downloadpuppet-stdlib-cfc79e9831fb530b4a34bb79db119969b3a166b3.tar.gz
puppet-stdlib-cfc79e9831fb530b4a34bb79db119969b3a166b3.tar.bz2
Merge pull request #344 from cyberious/TestCaseFixes
Fix testcases for Future Parser and resolve issue with values_at in assuming that it was dealing with a string
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