Skip to content

Commit

Permalink
Enable branch coverage in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
KludgeKML committed Jan 10, 2024
1 parent aa0d5e3 commit e77a412
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 e77a412

Please sign in to comment.