spec/spec_helper.rb in jwt-1.5.6 vs spec/spec_helper.rb in jwt-2.0.0.beta1
- old
+ new
@@ -1,22 +1,19 @@
require 'rspec'
require 'simplecov'
require 'simplecov-json'
require 'codeclimate-test-reporter'
+require 'codacy-coverage'
+Codacy::Reporter.start
+
SimpleCov.configure do
root File.join(File.dirname(__FILE__), '..')
project_name 'Ruby JWT - Ruby JSON Web Token implementation'
- SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
- SimpleCov::Formatter::HTMLFormatter,
- SimpleCov::Formatter::JSONFormatter
- ])
-
add_filter 'spec'
end
SimpleCov.start if ENV['COVERAGE']
-CodeClimate::TestReporter.start if ENV['CODECLIMATE_REPO_TOKEN']
CERT_PATH = File.join(File.dirname(__FILE__), 'fixtures', 'certs')
RSpec.configure do |config|
config.expect_with :rspec do |c|