diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 8e93cb442..3e1825acb 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,5 +1,6 @@ if ENV['COVERAGE'] require 'simplecov' + SimpleCov.command_name 'spec' SimpleCov.start 'rails' end diff --git a/test/test_helper.rb b/test/test_helper.rb index 9dbc3e3bc..137bf85d6 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,5 +1,6 @@ if ENV['COVERAGE'] require 'simplecov' + SimpleCov.command_name 'test' SimpleCov.start 'rails' end