Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 9ee2f43fbf97d090d3c7d8b116380c4f3aa91279 1 parent f464a7d
@arttu arttu authored ljuti committed
Showing with 3 additions and 1 deletion.
  1. +3 −1 spec/spec_helper.rb
View
4 spec/spec_helper.rb
@@ -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__)
Please sign in to comment.
Something went wrong with that request. Please try again.