ultravisor/spec/spec_helper.rb in service_skeleton-2.0.2 vs ultravisor/spec/spec_helper.rb in service_skeleton-2.1.0

- old
+ new

@@ -5,11 +5,13 @@ require 'rspec/mocks' Thread.report_on_exception = false require 'simplecov' -SimpleCov.start do - add_filter('spec') +unless SimpleCov.running + SimpleCov.start do + add_filter('spec') + end end class ListIncompletelyCoveredFiles def format(result) incompletes = result.files.select { |f| f.covered_percent < 100 }