spec/spec_helper.rb in hydra-pcdm-0.2.0 vs spec/spec_helper.rb in hydra-pcdm-0.3.0
- old
+ new
@@ -1,14 +1,13 @@
ENV['environment'] ||= 'test'
require 'simplecov'
require 'coveralls'
-SimpleCov.formatter = Coveralls::SimpleCov::Formatter
-SimpleCov.start do
- add_filter '/spec'
-end
-
-Coveralls.wear!
+SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
+ SimpleCov::Formatter::HTMLFormatter,
+ Coveralls::SimpleCov::Formatter
+]
+SimpleCov.start 'rails'
require 'bundler/setup'
Bundler.setup
require 'hydra/pcdm'