diff options
author | Adrien Thebo <git@somethingsinistral.net> | 2013-03-27 14:04:12 -0700 |
---|---|---|
committer | Adrien Thebo <git@somethingsinistral.net> | 2013-03-27 14:04:12 -0700 |
commit | 0adcf646b85ea3379ac8cb25050d445e577b71a3 (patch) | |
tree | 8bc6c111e3a4ae99e01c3954d68b128ee37daf5a /spec/unit/puppet/parser/functions/max_spec.rb | |
parent | 2c1b2c07c2d09464377cbde7b21952c99877751c (diff) | |
parent | 87c0f0c45418b276942e3de6deb8a2b681566019 (diff) |
Merge branch '3.x' into 4.x
Diffstat (limited to 'spec/unit/puppet/parser/functions/max_spec.rb')
-rwxr-xr-x | spec/unit/puppet/parser/functions/max_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/unit/puppet/parser/functions/max_spec.rb b/spec/unit/puppet/parser/functions/max_spec.rb index 604927e..ff6f2b3 100755 --- a/spec/unit/puppet/parser/functions/max_spec.rb +++ b/spec/unit/puppet/parser/functions/max_spec.rb @@ -20,4 +20,8 @@ describe "the max function" do it "should be able to compare numbers" do scope.function_max([6,8,4]).should(eq(8)) end + + it "should be able to compare a number with a stringified number" do + scope.function_max([1,"2"]).should(eq("2")) + end end |