Sha256: 2761f8ceefc89f4e8d74bfc166811e0e2836085afb1c5e00eb551a7fc883fbad

Contents?: true

Size: 500 Bytes

Versions: 7

Compression:

Stored size: 500 Bytes

Contents

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

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

  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

7 entries across 7 versions & 1 rubygems

Version Path
devtools-0.1.26 spec/spec_helper.rb
devtools-0.1.25 spec/spec_helper.rb
devtools-0.1.24 spec/spec_helper.rb
devtools-0.1.23 spec/spec_helper.rb
devtools-0.1.22 spec/spec_helper.rb
devtools-0.1.21 spec/spec_helper.rb
devtools-0.1.20 spec/spec_helper.rb