X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=spec%2Fspec_helper.rb;h=9ae37b172941cfc5d206f6168c4dbab7748f48d7;hb=89c747ab3b2caad9b36b8ce53a693537f4db6f36;hp=a7f5b4ecb3fc48da2b82573ebead00f446906ec3;hpb=7228f4d9afc201e151e08a6986591b20fe21ed82;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index a7f5b4e..9ae37b1 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,5 +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'