Sha256: 25767fe4372caa8dffadb8c0c03547cc636ba4572d209e4dd7498b3d72926762
Contents?: true
Size: 739 Bytes
Versions: 1
Compression:
Stored size: 739 Bytes
Contents
if ENV['COVERAGE'] || ENV['TRAVIS'] begin require 'simplecov' SimpleCov.start do add_filter "/spec/" end # Work correctly across forks: pid = Process.pid SimpleCov.at_exit do SimpleCov.result.format! if Process.pid == pid end if ENV['TRAVIS'] require 'coveralls' Coveralls.wear! end rescue LoadError warn "Could not load simplecov: #{$!}" end end require "bundler/setup" require "async/rspec" require "async/dns" # abort "Warning, ulimit is too low!" if `ulimit -n`.to_i < 10000 RSpec.configure do |config| # Enable flags like --only-failures and --next-failure config.example_status_persistence_file_path = ".rspec_status" config.expect_with :rspec do |c| c.syntax = :expect end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
async-dns-0.12.0 | spec/spec_helper.rb |