Skip to content

Commit

Permalink
Merge pull request #2073 from alphagov/enable-branch-coverage
Browse files Browse the repository at this point in the history
Enable branch coverage in tests
  • Loading branch information
KludgeKML authored Jan 11, 2024
2 parents db4e870 + e77a412 commit 2cc88a8
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

$LOAD_PATH << File.join(__dir__, "..")

Expand Down

0 comments on commit 2cc88a8

Please sign in to comment.