Sha256: 6341ae29bb0117ca899e018855c1bab4ef57152f53c0f0c6aef316e565caef35
Contents?: true
Size: 522 Bytes
Versions: 3
Compression:
Stored size: 522 Bytes
Contents
# The DCell specs start a completely separate Ruby VM running this code # for complete integration testing using 0MQ over TCP require 'rubygems' require 'bundler' Bundler.setup require 'dcell' DCell.start :id => 'test_node', :addr => 'tcp://127.0.0.1:21264' class TestActor include Celluloid attr_reader :value def initialize @value = 42 end def the_answer DCell::Global[:the_answer] end def crash raise "the spec purposely crashed me :(" end end TestActor.supervise_as :test_actor sleep
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dcell-0.13.0 | spec/test_node.rb |
dcell-0.13.0.pre | spec/test_node.rb |
dcell-0.12.0.pre | spec/test_node.rb |