spec/spec_helper.rb in simplecov-lcov-0.1.2 vs spec/spec_helper.rb in simplecov-lcov-0.1.3
- old
+ new
@@ -1,15 +1,21 @@
require 'simplecov'
+require 'coveralls'
module SimpleCov::Configuration
def clean_filters
@filters = []
end
end
SimpleCov.configure do
clean_filters
end
+
+SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
+ SimpleCov::Formatter::HTMLFormatter,
+ Coveralls::SimpleCov::Formatter
+]
ENV['COVERAGE'] && SimpleCov.start do
add_filter '/.rvm/'
end
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))