debian-mirror-gitlab/debian/gems-compat/jwt-2.1.0/spec/spec_helper.rb
2019-03-15 21:16:06 +05:30

28 lines
620 B
Ruby

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'
add_filter 'spec'
end
SimpleCov.start if ENV['COVERAGE']
CERT_PATH = File.join(File.dirname(__FILE__), 'fixtures', 'certs')
RSpec.configure do |config|
config.expect_with :rspec do |c|
c.syntax = %i[should expect]
end
config.run_all_when_everything_filtered = true
config.filter_run :focus
config.order = 'random'
end