Skip to content

Commit 6140810

Browse files
committed
1 parent 7ddabb9 commit 6140810

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spec/spec_helper.rb

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
SimpleCov.add_filter "_spec.rb"
1616
# do not cover the activesupport helpers
1717
SimpleCov.add_filter "/core_ext/"
18+
# measure all if/else branches on a line
19+
SimpleCov.enable_coverage :branch
1820

1921
SimpleCov.start
2022

0 commit comments

Comments
 (0)