# Coverage
require 'coveralls'
Coveralls.wear! do
  add_filter 'spec'
end

require 'rspec/autorun'
require 'msgr'

Dir[File.expand_path('../support/**/*.rb', __FILE__)].each { |f| require f }

RSpec.configure do |config|
  config.order = 'random'
  config.expect_with :rspec do |c|
    # Only allow expect syntax
    c.syntax = :expect
  end
end

# Coverage
require 'coveralls'
Coveralls.wear! do
  add_filter 'spec'
end

require 'rspec/autorun'
require 'msgr'

Dir[File.expand_path('../support/**/*.rb', __FILE__)].each { |f| require f }

RSpec.configure do |config|
  config.order = 'random'
  config.expect_with :rspec do |c|
    # Only allow expect syntax
    c.syntax = :expect
  end

  config.before do
    Celluloid.shutdown
    Celluloid.boot

    Celluloid.logger = nil
    Msgr.logger = nil
  end
end

Reset Celluloid actors and logger settings before each spec.
Reset Celluloid actors and logger settings before each spec.
