spec/support/fixtures/executables/node.rb in cuboid-0.1.3 vs spec/support/fixtures/executables/node.rb in cuboid-0.1.4
- old
+ new
@@ -28,23 +28,23 @@
def url
@server.url
end
def shutdown
- Arachni::Reactor.global.delay 1 do
+ Raktr.global.delay 1 do
Process.kill( 'KILL', Process.pid )
end
end
def connect_to_peer( url )
self.class.connect_to_peer( url )
end
def self.connect_to_peer( url )
c = Cuboid::RPC::Client::Base.new( url )
- Arachni::RPC::Proxy.new( c, 'node' )
+ Toq::Proxy.new( c, 'node' )
end
end
-Arachni::Reactor.global.run do
+Raktr.global.run do
Node.new
end