Permalink
Browse files

Add some coverage back with simplecov

* Simply run `COVERAGE=1 rspec .` and see coverage/index.html
  • Loading branch information...
1 parent e911227 commit bbd588e8676d5bed0017a3e1900ebc392cfe35c3 @eregon eregon committed Feb 26, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 spec/spec_helper.rb
View
5 spec/spec_helper.rb
@@ -1,3 +1,8 @@
+if ENV['COVERAGE']
+ require 'simplecov'
+ SimpleCov.start
+end
+
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'symbolic'
require 'rspec'

0 comments on commit bbd588e

Please sign in to comment.