diff options
author | David Schmitt <david.schmitt@puppet.com> | 2016-10-04 14:11:17 +0100 |
---|---|---|
committer | David Schmitt <david.schmitt@puppet.com> | 2016-10-04 14:11:17 +0100 |
commit | 3c12e20526b4c6c6e36f6acc103f42f7e5915477 (patch) | |
tree | 920fd0087601c2ca17737cedaa85cfc7ad597c6d /spec/functions | |
parent | 6ebb58623c49f738e2fe857974d54eb5c8638cea (diff) |
(MODULES-3933) Fix getparam for 'false' values
This is the idiomatic version of #634, and also addresses
the test failures.
Original-Fix-By: Michiel Brandenburg <michiel@silverstreet.com>
Diffstat (limited to 'spec/functions')
-rwxr-xr-x | spec/functions/getparam_spec.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/spec/functions/getparam_spec.rb b/spec/functions/getparam_spec.rb index 9e3d9e4..e4ef9e6 100755 --- a/spec/functions/getparam_spec.rb +++ b/spec/functions/getparam_spec.rb @@ -22,9 +22,6 @@ describe 'getparam' do it { is_expected.to run.with_params('User[one]', 'ensure').and_return('present') } it { is_expected.to run.with_params('User[two]', 'ensure').and_return('') } it { is_expected.to run.with_params('User[one]', 'shell').and_return('/bin/sh') } - it { - pending("both rspec-puppet as well as the function do the wrong thing here.") - is_expected.to run.with_params('User[one]', 'managehome').and_return(false) - } + it { is_expected.to run.with_params('User[one]', 'managehome').and_return(false) } end end |