Sha256: 0f0c0cf70e3ee7b91e200cb76a4742b8b8246ea93f13789504f9bb0702c11f38

Contents?: true

Size: 568 Bytes

Versions: 13

Compression:

Stored size: 568 Bytes

Contents

if ENV['COVERAGE'] || ENV['TRAVIS']
	begin
		require 'simplecov'
		
		SimpleCov.start do
			add_filter "/spec/"
		end
		
		if ENV['TRAVIS']
			require 'coveralls'
			Coveralls.wear!
		end
	rescue LoadError
		warn "Could not load simplecov: #{$!}"
	end
end

require "bundler/setup"
require "async/container"

# Shared rspec helpers:
require "async/rspec"

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

13 entries across 13 versions & 1 rubygems

Version Path
async-container-0.9.0 spec/spec_helper.rb
async-container-0.8.1 spec/spec_helper.rb
async-container-0.8.0 spec/spec_helper.rb
async-container-0.7.0 spec/spec_helper.rb
async-container-0.6.1 spec/spec_helper.rb
async-container-0.6.0 spec/spec_helper.rb
async-container-0.5.0 spec/spec_helper.rb
async-container-0.4.0 spec/spec_helper.rb
async-container-0.3.0 spec/spec_helper.rb
async-container-0.2.2 spec/spec_helper.rb
async-container-0.2.1 spec/spec_helper.rb
async-container-0.2.0 spec/spec_helper.rb
async-container-0.1.0 spec/spec_helper.rb