spec/spec_helper.rb in bogus-0.1.6 vs spec/spec_helper.rb in bogus-0.1.7
- old
+ new
@@ -1,10 +1,10 @@
require 'simplecov'
begin
require "coveralls"
- SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
+ SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
SimpleCov::Formatter::HTMLFormatter,
- Coveralls::SimpleCov::Formatter]
+ Coveralls::SimpleCov::Formatter])
rescue LoadError
warn "warning: coveralls gem not found; skipping Coveralls"
SimpleCov.formatter = SimpleCov::Formatter::HTMLFormatter
end