spec/spec_helper.rb in dry-initializer-3.0.1 vs spec/spec_helper.rb in dry-initializer-3.0.2
- old
+ new
@@ -1,4 +1,11 @@
+if ENV['COVERAGE'] == 'true'
+ require 'simplecov'
+ SimpleCov.start do
+ add_filter '/spec/'
+ end
+end
+
require "dry/initializer"
begin
require "pry"
rescue LoadError