diff options
author | Adrien Thebo <git@somethingsinistral.net> | 2013-03-27 14:04:00 -0700 |
---|---|---|
committer | Adrien Thebo <git@somethingsinistral.net> | 2013-03-27 14:04:00 -0700 |
commit | 87c0f0c45418b276942e3de6deb8a2b681566019 (patch) | |
tree | d6e00ece57167148343ed93b6fef7ff5ea306898 /spec/unit/puppet/parser/functions/min_spec.rb | |
parent | c0a0682706ccc1ed8c927c5529c08ffe2a7a4a5e (diff) | |
parent | 755d3d2de505d098faa323fa751497d7f4a3dad1 (diff) | |
download | puppet-stdlib-87c0f0c45418b276942e3de6deb8a2b681566019.tar.gz puppet-stdlib-87c0f0c45418b276942e3de6deb8a2b681566019.tar.bz2 |
Merge branch '2.x' into 3.x
Diffstat (limited to 'spec/unit/puppet/parser/functions/min_spec.rb')
-rwxr-xr-x | spec/unit/puppet/parser/functions/min_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/unit/puppet/parser/functions/min_spec.rb b/spec/unit/puppet/parser/functions/min_spec.rb index 781422c..71d593e 100755 --- a/spec/unit/puppet/parser/functions/min_spec.rb +++ b/spec/unit/puppet/parser/functions/min_spec.rb @@ -20,4 +20,8 @@ describe "the min function" do it "should be able to compare numbers" do scope.function_min([6,8,4]).should(eq(4)) end + + it "should be able to compare a number with a stringified number" do + scope.function_min([1,"2"]).should(eq(1)) + end end |