diff options
author | Ken Barber <ken@bob.sh> | 2011-07-29 23:09:30 +0100 |
---|---|---|
committer | Ken Barber <ken@bob.sh> | 2011-07-29 23:09:30 +0100 |
commit | a1cae426f1d6b8f2c19184ec8aac3ebc47d97744 (patch) | |
tree | 2d40ab0b183ae285560569e625ee41df79e39784 /spec/unit/parser/functions/type_spec.rb | |
parent | 19313b43ea04066a88a0b78e83650ac52785e2e9 (diff) | |
download | puppet-stdlib-a1cae426f1d6b8f2c19184ec8aac3ebc47d97744.tar.gz puppet-stdlib-a1cae426f1d6b8f2c19184ec8aac3ebc47d97744.tar.bz2 |
(#3) Provide documentation for remaining functions.
Diffstat (limited to 'spec/unit/parser/functions/type_spec.rb')
-rw-r--r-- | spec/unit/parser/functions/type_spec.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/unit/parser/functions/type_spec.rb b/spec/unit/parser/functions/type_spec.rb index 53071f3..e3c28ed 100644 --- a/spec/unit/parser/functions/type_spec.rb +++ b/spec/unit/parser/functions/type_spec.rb @@ -43,4 +43,9 @@ describe "the type function" do result.should(eq('float')) end + it "should return boolean when given a boolean" do + result = @scope.function_type([true]) + result.should(eq('boolean')) + end + end |