Clean up SimpleCov usage

This commit is contained in:
Joshua Clayton 2012-04-23 21:50:39 -05:00
parent 0dcd70cd14
commit ae4f43c593
3 changed files with 4 additions and 2 deletions

4
.simplecov Normal file
View File

@ -0,0 +1,4 @@
SimpleCov.start do
add_filter "/spec/"
add_filter "/tmp/"
end

View File

@ -1,7 +1,6 @@
PROJECT_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..', '..'))
require "simplecov"
SimpleCov.start
$: << File.join(PROJECT_ROOT, 'lib')

View File

@ -6,7 +6,6 @@ require 'rspec'
require 'rspec/autorun'
require "simplecov"
SimpleCov.start
require 'factory_girl'
require "mocha"