diff options
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 |