diff options
author | Ken Barber <ken@bob.sh> | 2011-07-29 22:18:56 +0100 |
---|---|---|
committer | Ken Barber <ken@bob.sh> | 2011-07-29 22:18:56 +0100 |
commit | 19313b43ea04066a88a0b78e83650ac52785e2e9 (patch) | |
tree | 15c8e5de95a4ffa297683a1bdab0d45a1bfb97eb /spec/unit/parser/functions/values_spec.rb | |
parent | f9634b7f9b03be86e25dc740cdcda754a0d2bf7d (diff) | |
download | puppet-stdlib-19313b43ea04066a88a0b78e83650ac52785e2e9.tar.gz puppet-stdlib-19313b43ea04066a88a0b78e83650ac52785e2e9.tar.bz2 |
(#3) Apply missing documentation to more functions.
Diffstat (limited to 'spec/unit/parser/functions/values_spec.rb')
-rw-r--r-- | spec/unit/parser/functions/values_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/unit/parser/functions/values_spec.rb b/spec/unit/parser/functions/values_spec.rb index 92f1311..f6eb5b6 100644 --- a/spec/unit/parser/functions/values_spec.rb +++ b/spec/unit/parser/functions/values_spec.rb @@ -23,4 +23,8 @@ describe "the values function" do result.should(eq(['1','2','3'])) end + it "should return values from a hash" do + lambda { @scope.function_values([['a','b','c']]) }.should( raise_error(Puppet::ParseError)) + end + end |