spec/spec_helper.rb in omniauth-auth0-2.1.0 vs spec/spec_helper.rb in omniauth-auth0-2.2.0
- old
+ new
@@ -1,13 +1,15 @@
$LOAD_PATH.unshift File.expand_path(__dir__)
$LOAD_PATH.unshift File.expand_path('../lib', __dir__)
require 'simplecov'
-if ENV['COVERAGE']
- SimpleCov.start do
- minimum_coverage(89.8)
- end
+SimpleCov.start
+
+if ENV['CI'] == 'true'
+ require 'codecov'
+ SimpleCov.formatter = SimpleCov::Formatter::Codecov
end
+
require 'rspec'
require 'rack/test'
require 'webmock/rspec'
require 'omniauth'
require 'omniauth-auth0'