Sha256: 46440bc17c481d1cdb5dc170ab2cdfcaf601c1e01877168e492e518836175ce5

Contents?: true

Size: 802 Bytes

Versions: 1

Compression:

Stored size: 802 Bytes

Contents

# encoding: utf-8
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[
    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

1 entries across 1 versions & 1 rubygems

Version Path
jwt-1.5.2 spec/spec_helper.rb