Sha256: 8887fa5e23421d2d8879a2d887839814e9834eac77bd9ea0eb57c83659f2e1e4
Contents?: true
Size: 472 Bytes
Versions: 2
Compression:
Stored size: 472 Bytes
Contents
require 'spec_helper' describe DCell::Node do before do @node = DCell::Node[TEST_NODE[:id]] @node.id.should == TEST_NODE[:id] end it "finds all available nodes" do nodes = DCell::Node.all nodes.should include(DCell.me) end it "finds remote actors" do actor = @node[:test_actor] actor.value.should == 42 end it "lists remote actors" do @node.actors.should include :test_actor @node.all.should include :test_actor end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
dcell-0.16.1 | spec/dcell/node_spec.rb |
stn-dcell-0.16.0 | spec/dcell/node_spec.rb |