Sha256: ad4e2fc81d7b0ee0d05071c17fdb981d2e5373a3656df6f91c4b1a767b21dee5

Contents?: true

Size: 701 Bytes

Versions: 1

Compression:

Stored size: 701 Bytes

Contents

if ENV['USE_REFINES'] == 'true'
  require 'ensure_it_refines'
else
  require 'ensure_it'
end

if ENV['USE_COVERALLS'] == 'true'
  # coveralls.io gem breaks build with our smart errors due to TracePoint
  # conflicts, so build it separetly
  # TODO: find better way to resolve this issue

  EnsureIt.configure do |config|
    config.errors = :standard
  end

  require 'coveralls'
  Coveralls.wear!
end


Dir[File.join(File.dirname(__FILE__), 'support', '**', '*.rb')].each do |file|
  require file
end

RSpec.configure do |config|
  config.treat_symbols_as_metadata_keys_with_true_values = true
  config.run_all_when_everything_filtered = true
  config.filter_run :focus
  config.order = 'random'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ensure_it-0.1.1 spec/spec_helper.rb