From c112381d79aeff1d88dadf2031f536e507b81d73 Mon Sep 17 00:00:00 2001 From: Sean O'Keeffe Date: Wed, 22 Nov 2017 11:25:17 +0000 Subject: [PATCH] Add test for https://github.com/puppetlabs/puppetlabs-stdlib/pull/850 --- spec/functions/min_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/functions/min_spec.rb b/spec/functions/min_spec.rb index fd2c9227e..2c325a4eb 100755 --- a/spec/functions/min_spec.rb +++ b/spec/functions/min_spec.rb @@ -7,6 +7,7 @@ it { is_expected.to run.with_params(1, 2).and_return(1) } it { is_expected.to run.with_params(1, 2, 3).and_return(1) } it { is_expected.to run.with_params(3, 2, 1).and_return(1) } + it { is_expected.to run.with_params(12, 8).and_return(8) } it { is_expected.to run.with_params('one').and_return('one') } it { is_expected.to run.with_params('one', 'two').and_return('one') } it { is_expected.to run.with_params('one', 'two', 'three').and_return('one') }