diff --git a/.gitignore b/.gitignore index e47bde0..7b32200 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,5 @@ /spec/reports/ /tmp/ spec/examples.txt +# simplecov +coverage/ diff --git a/.govuk_dependabot_merger.yml b/.govuk_dependabot_merger.yml index 8f574a4..b182701 100644 --- a/.govuk_dependabot_merger.yml +++ b/.govuk_dependabot_merger.yml @@ -1,10 +1,4 @@ -api_version: 1 -auto_merge: - - dependency: rubocop-govuk - allowed_semver_bumps: - - patch - - minor - - dependency: plek - allowed_semver_bumps: - - patch - - minor +api_version: 2 +defaults: + auto_merge: true + update_external_dependencies: true diff --git a/govuk_app_config.gemspec b/govuk_app_config.gemspec index e39daf9..b3a0a35 100644 --- a/govuk_app_config.gemspec +++ b/govuk_app_config.gemspec @@ -40,5 +40,6 @@ Gem::Specification.new do |spec| spec.add_development_dependency "rspec", "~> 3.10" spec.add_development_dependency "rspec-its", "~> 1.3" spec.add_development_dependency "rubocop-govuk", "4.16.1" + spec.add_development_dependency "simplecov" spec.add_development_dependency "webmock" end diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index d20b8f5..3bed01b 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -3,7 +3,9 @@ require "byebug" require "climate_control" require "rspec/its" +require "simplecov" require "webmock/rspec" +SimpleCov.start RSpec.configure do |config| config.include(ActiveSupport::Testing::TimeHelpers)