Sha256: 3101d9446557ee0875880a6caefabd7151c15d8407bbc3ae7788818eb4f8b02b

Contents?: true

Size: 562 Bytes

Versions: 4

Compression:

Stored size: 562 Bytes

Contents

# encoding: utf-8

if ENV['COVERAGE'] == 'true'
  require 'simplecov'
  require 'coveralls'

  SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
    SimpleCov::Formatter::HTMLFormatter,
    Coveralls::SimpleCov::Formatter
  ]

  SimpleCov.start do
    command_name 'spec:unit'

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

    minimum_coverage 100
  end
end

require 'ice_nine'
require 'devtools/spec_helper'

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ice_nine-0.11.1 spec/spec_helper.rb
ice_nine-0.11.0 spec/spec_helper.rb
ice_nine-0.10.0 spec/spec_helper.rb
ice_nine-0.9.0 spec/spec_helper.rb