Sha256: 41098cd74eccef192b27226f2e07da8def5f874e74d12108a61920a7310b443c

Contents?: true

Size: 568 Bytes

Versions: 8

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/websocket"

# 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

8 entries across 8 versions & 1 rubygems

Version Path
async-websocket-0.7.0 spec/spec_helper.rb
async-websocket-0.6.1 spec/spec_helper.rb
async-websocket-0.6.0 spec/spec_helper.rb
async-websocket-0.5.0 spec/spec_helper.rb
async-websocket-0.4.1 spec/spec_helper.rb
async-websocket-0.4.0 spec/spec_helper.rb
async-websocket-0.3.0 spec/spec_helper.rb
async-websocket-0.2.0 spec/spec_helper.rb