Sha256: cd3f8be0b1fe0797835a83d156288b76072bd48673da570914ea5177f99592f5

Contents?: true

Size: 647 Bytes

Versions: 2

Compression:

Stored size: 647 Bytes

Contents

require 'coveralls'
Coveralls.wear!

require 'rubygems'
require 'bundler/setup'
require 'celluloid/rspec'

logfile = File.open(File.expand_path("../../log/test.log", __FILE__), 'a')
logfile.sync = true

logger = Celluloid.logger = Logger.new(logfile)

Celluloid.shutdown_timeout = 1

Dir['./spec/support/*.rb'].map {|f| require f }

RSpec.configure do |config|
  config.filter_run :focus => true
  config.run_all_when_everything_filtered = true

  config.before do
    Celluloid.logger = logger
    if Celluloid.running?
      Celluloid.shutdown
      sleep 0.01
      Celluloid.internal_pool.assert_inactive
    end

    Celluloid.boot
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
vagrant-tiktalik-0.0.3 vendor/bundle/ruby/2.0.0/gems/celluloid-0.15.2/spec/spec_helper.rb
celluloid-0.15.2 spec/spec_helper.rb