spec/spec_helper.rb in hydra-pcdm-0.4.0 vs spec/spec_helper.rb in hydra-pcdm-0.5.0
- old
+ new
@@ -1,12 +1,16 @@
ENV['environment'] ||= 'test'
require 'simplecov'
require 'coveralls'
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new(
- [SimpleCov::Formatter::HTMLFormatter,
- Coveralls::SimpleCov::Formatter])
-SimpleCov.start 'rails'
+ [
+ SimpleCov::Formatter::HTMLFormatter,
+ Coveralls::SimpleCov::Formatter
+ ])
+SimpleCov.start do
+ add_filter '/spec'
+end
require 'bundler/setup'
Bundler.setup
require 'hydra/pcdm'