]> review.fuel-infra Code Review - puppet-modules/puppetlabs-apt.git/commitdiff
Update modulesync_config [51f469d] modulesync
authorDavid Schmitt <david.schmitt@puppet.com>
Mon, 10 Oct 2016 13:18:46 +0000 (14:18 +0100)
committerDavid Schmitt <david.schmitt@puppet.com>
Mon, 10 Oct 2016 13:18:46 +0000 (14:18 +0100)
spec/spec_helper.rb

index 22d5d689f4616681ae30d187d834009cebf008e3..9ae37b172941cfc5d206f6168c4dbab7748f48d7 100644 (file)
@@ -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'