test/test_helper.rb in surrounded-1.0.0 vs test/test_helper.rb in surrounded-1.1.0
- old
+ new
@@ -1,7 +1,9 @@
require 'simplecov'
require 'minitest/autorun'
-SimpleCov.start
+SimpleCov.enable_coverage :branch
+SimpleCov.add_filter %r{version.rb}
+SimpleCov.start unless defined?(Coverage)
require 'surrounded'
require 'surrounded/context'
class User