spec/spec_helper.rb in git_cloner-0.0.3 vs spec/spec_helper.rb in git_cloner-0.0.4
- old
+ new
@@ -1,7 +1,15 @@
# encoding: utf-8
require 'simplecov'
-SimpleCov.start
+require 'coveralls'
+Coveralls.wear!
+SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
+ SimpleCov::Formatter::HTMLFormatter,
+ Coveralls::SimpleCov::Formatter
+]
+SimpleCov.start do
+ add_filter '/spec/'
+end
RSpec.configure do |config|
config.treat_symbols_as_metadata_keys_with_true_values = true
config.run_all_when_everything_filtered = true
config.filter_run :focus
end