spec/spec_helper.rb in noid-rails-3.0.0 vs spec/spec_helper.rb in noid-rails-3.0.1
- old
+ new
@@ -8,10 +8,15 @@
if coverage_needed?
require 'simplecov'
require 'coveralls'
SimpleCov.root(File.expand_path('../..', __FILE__))
- SimpleCov.formatter = Coveralls::SimpleCov::Formatter
+ SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new(
+ [
+ SimpleCov::Formatter::HTMLFormatter,
+ Coveralls::SimpleCov::Formatter
+ ]
+ )
SimpleCov.start('rails') do
add_filter '/.internal_test_app'
add_filter '/lib/generators'
add_filter '/spec'
add_filter '/lib/noid/rails/version.rb'