Skip to content

Commit

Permalink
Enable branch coverage in simplecov
Browse files Browse the repository at this point in the history
  • Loading branch information
KludgeKML committed Sep 26, 2023
1 parent 8403348 commit c20f27c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
ENV["RAILS_ENV"] ||= "test"

require "simplecov"
SimpleCov.start "rails"
SimpleCov.start "rails" do
enable_coverage :branch
end

require File.expand_path("../config/environment", __dir__)
require "rspec/rails"
Expand Down

0 comments on commit c20f27c

Please sign in to comment.