spec/spec_helper.rb in omniauth-multipassword-2.0.0.rc1 vs spec/spec_helper.rb in omniauth-multipassword-2.0.1
- old
+ new
@@ -1,17 +1,19 @@
# frozen_string_literal: true
require 'rspec'
+
require 'simplecov'
+require 'simplecov-cobertura'
-if ENV['CI']
- require 'codecov'
- SimpleCov.formatter = SimpleCov::Formatter::Codecov
-end
-
SimpleCov.start do
add_filter 'spec'
end
+
+SimpleCov.formatters = [
+ SimpleCov::Formatter::HTMLFormatter,
+ SimpleCov::Formatter::CoberturaFormatter,
+]
require 'omniauth-multipassword'
Dir[File.expand_path('spec/support/**/*.rb')].sort.each {|f| require f }