spec/coverage_helper.rb in restruct-0.1.0 vs spec/coverage_helper.rb in restruct-0.2.0
- old
+ new
@@ -1,8 +1,5 @@
require 'simplecov'
require 'coveralls'
-SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
- SimpleCov::Formatter::HTMLFormatter,
- Coveralls::SimpleCov::Formatter
-]
+SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new [SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter]
SimpleCov.start
\ No newline at end of file