Merge pull request #629 from puppetlabs/modulesync
authorEric Putnam <putnam.eric@gmail.com>
Tue, 11 Oct 2016 22:48:40 +0000 (15:48 -0700)
committerGitHub <noreply@github.com>
Tue, 11 Oct 2016 22:48:40 +0000 (15:48 -0700)
Update modulesync_config [51f469d]

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'