X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=spec%2Fspec_helper.rb;h=01912b60c44d9b6e9444dbcc3f898e3dc295ef80;hb=478afa269fd05ca986cf82629eaca00a9cc27553;hp=9ae37b172941cfc5d206f6168c4dbab7748f48d7;hpb=189af5503c34edd11e6b6f9d79a94891484bef45;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 9ae37b1..01912b6 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,16 +1,9 @@ -#This file is generated by ModuleSync, do not edit. +# 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' -rescue LoadError +rescue LoadError => loaderror + puts "Could not require spec_helper_local: #{loaderror.message}" end