Add simplecov to tests

This commit is contained in:
2012-04-18 09:55:30 +01:00
parent 5087f4ef45
commit e5b0aa32ed
2 changed files with 7 additions and 0 deletions

View File

@@ -2,6 +2,12 @@
$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'simplecov'
SimpleCov.start do
add_filter '/spec'
add_filter '/vendor'
end
# require stuff
require 'redistat'
require 'rspec'