Permalink
Browse files

SimpleCov: use Rails adapter, exclude coverage on /spec/ directory.

  • Loading branch information...
1 parent f464a7d commit 9ee2f43fbf97d090d3c7d8b116380c4f3aa91279 @arttu arttu committed with ljuti Mar 5, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 spec/spec_helper.rb
View
@@ -1,6 +1,8 @@
require 'rubygems'
require 'simplecov'
-SimpleCov.start
+SimpleCov.start 'rails' do
+ add_filter "/spec/"
+end
ENV["RAILS_ENV"] ||= 'test'
require File.expand_path("../../config/environment", __FILE__)

0 comments on commit 9ee2f43

Please sign in to comment.