spec/spec_helper.rb in harvestdor-indexer-0.0.11 vs spec/spec_helper.rb in harvestdor-indexer-0.0.13
- old
+ new
@@ -1,17 +1,6 @@
-# for test coverage
-require 'simplecov'
-require 'simplecov-rcov'
-class SimpleCov::Formatter::MergedFormatter
- def format(result)
- SimpleCov::Formatter::HTMLFormatter.new.format(result)
- SimpleCov::Formatter::RcovFormatter.new.format(result)
- end
-end
-SimpleCov.formatter = SimpleCov::Formatter::MergedFormatter
-SimpleCov.start do
- add_filter "/spec/"
-end
+require 'coveralls'
+Coveralls.wear!
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'harvestdor-indexer'
\ No newline at end of file