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 25, 2023
1 parent 52195db commit de253e1
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 de253e1

Please sign in to comment.