Skip to content

Commit

Permalink
Merge coverage reports so that unit tests contribute towards coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
threedaymonk committed Dec 8, 2011
1 parent 149288d commit 92f9ee3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .simplecov
@@ -0,0 +1,5 @@
require 'simplecov-rcov'

SimpleCov.start 'rails' do
end
SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter
4 changes: 0 additions & 4 deletions test/test_helper.rb
@@ -1,11 +1,7 @@
require 'simplecov' require 'simplecov'
require 'simplecov-rcov'
require 'slimmer/skin' require 'slimmer/skin'
require 'slimmer/test' require 'slimmer/test'


SimpleCov.start 'rails'
SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter

ENV["RAILS_ENV"] = "test" ENV["RAILS_ENV"] = "test"
require File.expand_path('../../config/environment', __FILE__) require File.expand_path('../../config/environment', __FILE__)
require 'rails/test_help' require 'rails/test_help'
Expand Down

0 comments on commit 92f9ee3

Please sign in to comment.