diff options
author | Hunter Haugen <hunter@puppet.com> | 2017-04-26 09:18:43 -0700 |
---|---|---|
committer | Hunter Haugen <hunter@puppet.com> | 2017-04-26 09:18:43 -0700 |
commit | ccabfd3e1f4617a583546efaa4303bc24e53b89c (patch) | |
tree | 582f1cc155b78c629fc9816ddc5b8e60c2b49b04 /spec/functions | |
parent | 047fe6da7403cdc6f480a905c0485795e51eec06 (diff) |
(PE-20308) Correct boundary for 4.5 vs 4.6
Diffstat (limited to 'spec/functions')
-rwxr-xr-x | spec/functions/defined_with_params_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functions/defined_with_params_spec.rb b/spec/functions/defined_with_params_spec.rb index 979e25a..7118d85 100755 --- a/spec/functions/defined_with_params_spec.rb +++ b/spec/functions/defined_with_params_spec.rb @@ -45,7 +45,7 @@ describe 'defined_with_params' do context 'reference' do it { is_expected.to run.with_params(Puppet::Resource.new('User[dan]'), {}).and_return(true) } end - if Puppet::Util::Package.versioncmp(Puppet.version, '4.5.0') >= 0 + if Puppet::Util::Package.versioncmp(Puppet.version, '4.6.0') >= 0 context 'array' do it 'fails' do expect { |