Skip to content

Commit

Permalink
Add some coverage back with simplecov
Browse files Browse the repository at this point in the history
* Simply run `COVERAGE=1 rspec .` and see coverage/index.html
  • Loading branch information
eregon committed Feb 26, 2012
1 parent e911227 commit bbd588e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions 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.