spec/spec_helper.rb in bugsnag-6.1.0 vs spec/spec_helper.rb in bugsnag-6.1.1
- old
+ new
@@ -1,5 +1,5 @@
-if ARGV.include? "--coverage"
+if ENV['GEMSETS'] and ENV['GEMSETS'].include? "coverage"
require 'simplecov'
require 'coveralls'
SimpleCov.formatter = Coveralls::SimpleCov::Formatter
SimpleCov.start do