Sha256: 1d10766593648a1622ee1a241f05f7cce6e6187e44c72c729e50084845a9a48b

Contents?: true

Size: 505 Bytes

Versions: 2

Compression:

Stored size: 505 Bytes

Contents

# encoding: UTF-8

require 'central/devtools/spec_helper'
require 'tempfile'
require 'tmpdir'

if ENV['COVERAGE'] == 'true'
  SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
    SimpleCov::Formatter::HTMLFormatter
  ]

  SimpleCov.start do
    command_name 'spec:unit'

    add_filter 'config'
    add_filter 'spec'
    add_filter 'vendor'

    minimum_coverage 100
  end
end

RSpec.configure do |config|
  config.expect_with :rspec do |expect_with|
    expect_with.syntax = :expect
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
central-devtools-0.8.4 spec/spec_helper.rb
central-devtools-0.8.3 spec/spec_helper.rb