Skip to content

Commit

Permalink
Enforce code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
georges1996 committed Apr 30, 2024
1 parent 6732d95 commit b43c7bd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
ENV["GOVUK_APP_DOMAIN"] = "test.gov.uk"

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

require "webmock/rspec"

Expand Down

0 comments on commit b43c7bd

Please sign in to comment.