Skip to content

Commit

Permalink
enable branch coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
tycooon committed Sep 13, 2024
1 parent 1c163d5 commit 50e5318
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ GEM
simplecov_json_formatter (0.1.4)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (2.5.0)
unicode-display_width (2.6.0)

PLATFORMS
ruby
Expand Down
5 changes: 4 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@
SimpleCov::Formatter::LcovFormatter,
])

SimpleCov.start
SimpleCov.start do
enable_coverage(:branch)
minimum_coverage(line: 100, branch: 100)
end

require "memery"
require "active_support/concern"
Expand Down

0 comments on commit 50e5318

Please sign in to comment.