Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (18 sloc) 0.498 kb
require 'rubygems'
require 'bundler'
Bundler.setup
require 'dcell'
Dir['./spec/support/*.rb'].map { |f| require f }
RSpec.configure do |config|
config.before(:suite) do
DCell.setup :directory => { :id => 'test_node', :addr => "tcp://127.0.0.1:#{TestNode::PORT}" }
@supervisor = DCell.run!
TestNode.start
TestNode.wait_until_ready
end
config.after(:suite) do
TestNode.stop
end
end
# FIXME: this is hax to bypass the other at_exit handlers
at_exit { exit! $!.status }
Jump to Line
Something went wrong with that request. Please try again.