diff --git a/.simplecov b/.simplecov index 7ee2d5008..aed9a0214 100644 --- a/.simplecov +++ b/.simplecov @@ -1,17 +1,17 @@ if ENV["RAILS_ENV"] == "test" SimpleCov.start do + add_filter "app/controllers/errors_controller.rb" add_filter "app/services/test_data_service.rb" + add_filter "config/environments/test.rb" + add_filter "config/initializers" add_filter "lib/fakes" add_filter "lib/generators" - add_filter "spec/support" - add_filter "spec/rails_helper.rb" - add_filter "spec/spec_helper.rb" - add_filter "config/initializers" - add_filter "config/environments/test.rb" add_filter "lib/tasks" - add_filter "app/controllers/errors_controller.rb" - add_filter "spec/factories" add_filter "spec/" + add_filter "spec/factories" + add_filter "spec/rails_helper.rb" + add_filter "spec/spec_helper.rb" + add_filter "spec/support" end SimpleCov.coverage_dir ENV["COVERAGE_DIR"] || nil SimpleCov.command_name ENV["TEST_SUBCATEGORY"] || "all"