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:
parent
0dcd70cd14
commit
ae4f43c593
3 changed files with 4 additions and 2 deletions
4
.simplecov
Normal file
4
.simplecov
Normal file
|
@ -0,0 +1,4 @@
|
|||
SimpleCov.start do
|
||||
add_filter "/spec/"
|
||||
add_filter "/tmp/"
|
||||
end
|
|
@ -1,7 +1,6 @@
|
|||
PROJECT_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..', '..'))
|
||||
|
||||
require "simplecov"
|
||||
SimpleCov.start
|
||||
|
||||
$: << File.join(PROJECT_ROOT, 'lib')
|
||||
|
||||
|
|
|
@ -6,7 +6,6 @@ require 'rspec'
|
|||
require 'rspec/autorun'
|
||||
|
||||
require "simplecov"
|
||||
SimpleCov.start
|
||||
|
||||
require 'factory_girl'
|
||||
require "mocha"
|
||||
|
|
Loading…
Reference in a new issue