Sha256: 2ec955cb17d4b5ce143f6030694a779fe0d091e2f86bba0321f085be2e2dd472

Contents?: true

Size: 302 Bytes

Versions: 4

Compression:

Stored size: 302 Bytes

Contents

require 'celluloid/test'
Celluloid.shutdown_timeout = 1
RSpec.configure do |config|
  config.around do |ex|
    Celluloid.actor_system = nil
    Thread.list.each do |thread|
      next if thread == Thread.current
      thread.kill
    end
    Celluloid.boot
    ex.run
    Celluloid.shutdown
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
multi_sync-0.0.4 spec/support/celluloid.rb
multi_sync-0.0.3 spec/support/celluloid.rb
multi_sync-0.0.2 spec/support/celluloid.rb
multi_sync-0.0.1 spec/support/celluloid.rb