summaryrefslogtreecommitdiff
path: root/spec/acceptance/count_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/count_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/count_spec.rb')
-rwxr-xr-xspec/acceptance/count_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/acceptance/count_spec.rb b/spec/acceptance/count_spec.rb
index 51a40ba..fe7ca9d 100755
--- a/spec/acceptance/count_spec.rb
+++ b/spec/acceptance/count_spec.rb
@@ -7,7 +7,7 @@ describe 'count function', :unless => UNSUPPORTED_PLATFORMS.include?(fact('opera
pp = <<-EOS
$input = [1,2,3,4]
$output = count($input)
- notify { $output: }
+ notify { "$output": }
EOS
apply_manifest(pp, :catch_failures => true) do |r|
@@ -19,7 +19,7 @@ describe 'count function', :unless => UNSUPPORTED_PLATFORMS.include?(fact('opera
pp = <<-EOS
$input = [1,1,1,2]
$output = count($input, 1)
- notify { $output: }
+ notify { "$output": }
EOS
apply_manifest(pp, :catch_failures => true) do |r|