From 4b5983c2e67f60ba8babff55a48c3565f2c0db34 Mon Sep 17 00:00:00 2001 From: George Schena Date: Tue, 30 Apr 2024 12:45:01 +0100 Subject: [PATCH] Enforce code coverage --- spec/spec_helper.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index c3193019..f3bf8cb8 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -2,7 +2,9 @@ ENV["GOVUK_APP_DOMAIN"] = "test.gov.uk" require "simplecov" -SimpleCov.start +SimpleCov.start "rails" do + minimum_coverage line: 94 +end require "webmock/rspec"