Sha256: 9ede915b500288fccca75d791271cffeccff1caa71ee410bbd53c5cef2dde462

Contents?: true

Size: 533 Bytes

Versions: 4

Compression:

Stored size: 533 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"
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

4 entries across 4 versions & 1 rubygems

Version Path
rubydns-2.0.2 spec/spec_helper.rb
rubydns-2.0.1 spec/spec_helper.rb
rubydns-2.0.0 spec/spec_helper.rb
rubydns-2.0.0.pre.rc2 spec/spec_helper.rb