1
0
Fork 0
mirror of https://github.com/thoughtbot/factory_bot.git synced 2022-11-09 11:43:51 -05:00

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"