Sha256: 4e8abfcf78f3ca09249d2202c52198f785bc4752a95b4fbde00482fba5ed9489

Contents?: true

Size: 680 Bytes

Versions: 4

Compression:

Stored size: 680 Bytes

Contents

# frozen_string_literal: true

require 'pathname'
ROOT = Pathname.new(File.expand_path('..', __dir__))
$:.unshift("#{ROOT}lib")
$:.unshift("#{ROOT}spec")

require 'bundler/setup'

require 'rspec'

require 'simplecov'
require 'simplecov-json'
require 'simplecov-shield-json'

SimpleCov.formatters = SimpleCov::Formatter::MultiFormatter.new(
  [
    SimpleCov::Formatter::HTMLFormatter,
    SimpleCov::Formatter::JSONFormatter,
    SimpleCov::Formatter::ShieldJSONFormatter
  ]
)
SimpleCov.start do
  add_filter 'spec'
end

# Use coloured output, it's the best.
RSpec.configure do |config|
  config.filter_gems_from_backtrace 'bundler'
  config.color = true
  config.tty = true
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
circle_ci_wrapper-0.0.6 spec/spec_helper.rb
circle_ci_wrapper-0.0.5 spec/spec_helper.rb
circle_ci_wrapper-0.0.4 spec/spec_helper.rb
circle_ci_wrapper-0.0.3 spec/spec_helper.rb