spec/spec_helper.rb in pupa-0.1.11 vs spec/spec_helper.rb in pupa-0.2.0
- old
+ new
@@ -1,10 +1,18 @@
require 'rubygems'
+require 'simplecov'
require 'coveralls'
-Coveralls.wear!
+SimpleCov.formatter = Coveralls::SimpleCov::Formatter
+SimpleCov.start do
+ add_filter 'spec'
+end
require 'multi_xml'
require 'nokogiri'
require 'redis-store'
require 'rspec'
+
+Dir["./spec/support/**/*.rb"].each {|f| require f}
require File.dirname(__FILE__) + '/../lib/pupa'
+
+Mongo::Logger.logger.level = Logger::WARN