Sha256: c903bb5ee6c10b6be745255a10c2e77bb03d1e5f2b1caa1c09da497296a61b19

Contents?: true

Size: 503 Bytes

Versions: 2

Compression:

Stored size: 503 Bytes

Contents

require 'coveralls'
Coveralls.wear!

require 'bundler/setup'
require 'celluloid/zmq'

logfile = File.open(File.expand_path("../../log/test.log", __FILE__), 'a')
Celluloid.logger = Logger.new(logfile)

Celluloid.shutdown_timeout = 1

RSpec.configure do |config|
  config.treat_symbols_as_metadata_keys_with_true_values = true

  config.around do |ex|
    Celluloid::ZMQ.init(1) unless example.metadata[:no_init]
    Celluloid.boot
    ex.run
    Celluloid.shutdown
    Celluloid::ZMQ.terminate
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
celluloid-zmq-0.16.0 spec/spec_helper.rb
celluloid-zmq-0.16.0.pre spec/spec_helper.rb