summaryrefslogtreecommitdiff
path: root/spec/acceptance/any2array_spec.rb
diff options
context:
space:
mode:
authorTravis Fields <travis@puppetlabs.com>2014-10-28 15:27:24 -0700
committerTravis Fields <travis@puppetlabs.com>2014-10-28 15:27:24 -0700
commit51f1d574d92cf686ac79e57e69d8aff31caf2925 (patch)
treec955c144ec2386607f2ad7ac69edb1bcf44df320 /spec/acceptance/any2array_spec.rb
parent759cbdec886bebb859d8def9323c139faf99c024 (diff)
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