spec/helper.rb in gems-0.7.1 vs spec/helper.rb in gems-0.8.0

- old
+ new

@@ -1,13 +1,18 @@ -unless ENV['CI'] - require 'simplecov' - SimpleCov.start do - add_filter 'spec' - end -end +require 'simplecov' +require 'coveralls' + +SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ + SimpleCov::Formatter::HTMLFormatter, + Coveralls::SimpleCov::Formatter +] +SimpleCov.start + require 'gems' require 'rspec' require 'webmock/rspec' + +WebMock.disable_net_connect!(:allow => 'coveralls.io') RSpec.configure do |config| config.expect_with :rspec do |c| c.syntax = :expect end