diff options
Diffstat (limited to 'spec/functions/ensure_packages_spec.rb')
-rw-r--r-- | spec/functions/ensure_packages_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/functions/ensure_packages_spec.rb b/spec/functions/ensure_packages_spec.rb index 4163d69..bf62eff 100644 --- a/spec/functions/ensure_packages_spec.rb +++ b/spec/functions/ensure_packages_spec.rb @@ -38,6 +38,10 @@ describe 'ensure_packages' do it 'accepts an array of values' do scope.function_ensure_packages([['foo']]) end + + it 'accepts a single package name as a string' do + scope.function_ensure_packages(['foo']) + end end context 'given a catalog with puppet package => absent' do |