Skip to content

Commit f90342f

Browse files
authored
Merge pull request #618 from alphagov/enable-branch-coverage
Add branch coverage to SimpleCov config.
2 parents a7fd0d8 + 9805612 commit f90342f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

spec/spec_helper.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
ENV["RAILS_ENV"] ||= "test"
22

33
require "simplecov"
4-
SimpleCov.start "rails"
4+
SimpleCov.start "rails" do
5+
enable_coverage :branch
6+
end
57

68
require File.expand_path("../config/environment", __dir__)
79
require "rspec/rails"

0 commit comments

Comments
 (0)