X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=spec%2Fspec_helper.rb;h=9ae37b172941cfc5d206f6168c4dbab7748f48d7;hb=89c747ab3b2caad9b36b8ce53a693537f4db6f36;hp=22d5d689f4616681ae30d187d834009cebf008e3;hpb=541585668b22608a9e67a38b72d2675a64ca88e5;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 22d5d68..9ae37b1 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,6 +1,14 @@ #This file is generated by ModuleSync, do not edit. require 'puppetlabs_spec_helper/module_spec_helper' +if Puppet.version.to_f >= 4.5 + RSpec.configure do |c| + c.before :each do + Puppet.settings[:strict] = :error + end + end +end + # put local configuration and setup into spec_helper_local begin require 'spec_helper_local'