From be298bed6169c9f59148042af47e12faffe48881 Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Tue, 11 Feb 2020 21:18:19 +0100 Subject: cleanup spec_helper.rb --- spec/spec_helper.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'spec/spec_helper.rb') diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index d1ca54c..b2b2704 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -4,9 +4,7 @@ # puppetlabs_spec_helper will set up coverage if the env variable is set. # We want to do this if lib exists and it hasn't been explicitly set. -if Dir.exist?(File.expand_path('../../lib', __FILE__)) - ENV['COVERAGE'] ||= 'yes' -end +ENV['COVERAGE'] ||= 'yes' if Dir.exist?(File.expand_path('../../lib', __FILE__)) require 'voxpupuli/test/spec_helper' @@ -18,4 +16,3 @@ if File.exist?(File.join(__dir__, 'default_module_facts.yml')) end end end - -- cgit v1.2.3