summaryrefslogtreecommitdiff
path: root/spec/functions/deprecation_spec.rb
diff options
context:
space:
mode:
authorHunter Haugen <hunter@puppet.com>2017-01-19 16:17:47 -0800
committerHunter Haugen <hunter@puppet.com>2017-01-24 11:13:55 -0800
commit1229d5a831995ddc2c9814f5104ea2a2c9df65a9 (patch)
tree2e22c5dfdba611449494acf6e6873d5bc6b28d66 /spec/functions/deprecation_spec.rb
parent5aa8419c94a8c5005383f5a8948708ed8efd0e5f (diff)
(MODULES-4098) Sync the rest of the files
Diffstat (limited to 'spec/functions/deprecation_spec.rb')
-rw-r--r--spec/functions/deprecation_spec.rb4
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