Browse files

Exclude specs from code coverage report

  • Loading branch information...
1 parent e04453b commit f65df086096d1e245fc092378a90a2e7bd27c361 @sferik sferik committed Apr 24, 2012
Showing with 5 additions and 3 deletions.
  1. +5 −3 spec/spec_helper.rb
View
8 spec/spec_helper.rb
@@ -1,6 +1,8 @@
-unless ENV['TRAVIS']
+unless ENV['CI']
require 'simplecov'
- SimpleCov.start
+ SimpleCov.start do
+ add_filter 'spec'
+ end
end
require 'rspec'
@@ -32,4 +34,4 @@ def callback_phase
return @fail if @fail
raise "Callback Phase"
end
-end
+end

0 comments on commit f65df08

Please sign in to comment.