Sha256: c621f47b958cb085a3a42ce15226619b2f6fa9239f53171c66acea663fd01c48

Contents?: true

Size: 786 Bytes

Versions: 4

Compression:

Stored size: 786 Bytes

Contents

if defined?(:RUBY_ENGINE) && RUBY_ENGINE == 'ruby'
  # SimpleCov officially supports MRI 1.9+ only for now
  # https://github.com/colszowka/simplecov#ruby-version-compatibility

  require 'simplecov'
  unless ENV['APPVEYOR']
    require 'coveralls'

    SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
      SimpleCov::Formatter::HTMLFormatter,
      Coveralls::SimpleCov::Formatter
    ]
  end
  SimpleCov.start("test_frameworks")
end

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))

REPO_ROOT = Pathname.new(File.expand_path("../", __FILE__))

require 'td-logger'

RSpec.configure do |config|
  #config.filter_run :focus => true
  config.run_all_when_everything_filtered = true

  config.mock_with :rspec
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
td-logger-0.3.28 spec/spec_helper.rb
td-logger-0.3.27 spec/spec_helper.rb
td-logger-0.3.26 spec/spec_helper.rb
td-logger-0.3.25 spec/spec_helper.rb