diff options
author | Eric Putnam <putnam.eric@gmail.com> | 2017-01-24 11:55:50 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-24 11:55:50 -0800 |
commit | db8c1fbb2394d93fe3156b17c840455f1b3e2c76 (patch) | |
tree | 2e22c5dfdba611449494acf6e6873d5bc6b28d66 /spec/functions/deprecation_spec.rb | |
parent | 5aa8419c94a8c5005383f5a8948708ed8efd0e5f (diff) | |
parent | 1229d5a831995ddc2c9814f5104ea2a2c9df65a9 (diff) |
Merge pull request #712 from puppetlabs/hunner_msync
(MODULES-4098) Sync the rest of the files
Diffstat (limited to 'spec/functions/deprecation_spec.rb')
-rw-r--r-- | spec/functions/deprecation_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/functions/deprecation_spec.rb b/spec/functions/deprecation_spec.rb index cee4f1c..8a65b69 100644 --- a/spec/functions/deprecation_spec.rb +++ b/spec/functions/deprecation_spec.rb @@ -1,6 +1,6 @@ require 'spec_helper' -if Puppet.version.to_f >= 4.0 +if Puppet.version.to_f >= 4.5 describe 'deprecation' do before(:each) { # this is to reset the strict variable to default @@ -40,7 +40,7 @@ if Puppet.version.to_f >= 4.0 Puppet.settings[:strict] = :warning } end -else +elsif Puppet.version.to_f < 4.0 # Puppet version < 4 will use these tests. describe 'deprecation' do after(:all) do |