Sha256: d7b4daf82d8b3215bfa30c59aef57d8c26e669729f2610ad8e988120a8667e6b

Contents?: true

Size: 529 Bytes

Versions: 4

Compression:

Stored size: 529 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'
  end
end

require 'promise'
require_relative 'support/delayed_promise'

require 'awesome_print'
require 'devtools/spec_helper' if Gem.ruby_version >= Gem::Version.new('2.1')
require 'rspec/its'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
promise.rb-0.7.1 spec/spec_helper.rb
promise.rb-0.7.0 spec/spec_helper.rb
promise.rb-0.7.0.rc2 spec/spec_helper.rb
promise.rb-0.7.0.rc1 spec/spec_helper.rb