Sha256: 2f8370a1bae45905a51a7058a15fec304b7d728ebd0609ac130f89503f0d0645
Contents?: true
Size: 790 Bytes
Versions: 5
Compression:
Stored size: 790 Bytes
Contents
require 'rspec' require 'simplecov' require 'simplecov-json' require 'codeclimate-test-reporter' 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| c.syntax = [:should, :expect] end config.run_all_when_everything_filtered = true config.filter_run :focus config.order = 'random' end
Version data entries
5 entries across 5 versions & 3 rubygems