spec/support/registry_examples.rb in dcell-0.9.0 vs spec/support/registry_examples.rb in dcell-0.10.0

- old
+ new

@@ -1,23 +1,5 @@ shared_context "a DCell registry" do - context "node registry" do - before :each do - subject.clear_nodes - end - - it "stores node addresses" do - address = "tcp://localhost:7777" - - subject.set_node("foobar", address) - subject.get_node("foobar").should == address - end - - it "stores the IDs of all nodes" do - subject.set_node("foobar", "tcp://localhost:7777") - subject.nodes.should include "foobar" - end - end - context "global registry" do before :each do subject.clear_globals end