Sha256: 26e4d3ea78544cdfb76e1f7bed7a1a563be18e3865ab7649472660c72b2ab6f7
Contents?: true
Size: 852 Bytes
Versions: 7
Compression:
Stored size: 852 Bytes
Contents
require 'rubygems' require 'listen' def ci?; ENV['CI'] end if ci? require 'coveralls' Coveralls.wear! end Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration RSpec.configure do |config| config.color_enabled = true config.order = :random config.filter_run focus: true config.treat_symbols_as_metadata_keys_with_true_values = true config.run_all_when_everything_filtered = true config.fail_fast = !ci? config.expect_with :rspec do |c| c.syntax = :expect end end require 'rspec/retry' RSpec.configure do |config| config.default_retry_count = ci? ? 3 : 1 end require 'celluloid/rspec' Thread.abort_on_exception = true Celluloid.logger.level = Logger::ERROR RSpec.configuration.before(:each) do Celluloid.shutdown Celluloid.boot end
Version data entries
7 entries across 7 versions & 1 rubygems