spec/dcell/global_spec.rb in dcell-0.10.0 vs spec/dcell/global_spec.rb in dcell-0.12.0.pre
- old
+ new
@@ -9,13 +9,9 @@
DCell::Global[:the_answer] = 42
DCell::Global[:the_answer].should == 42
# Double check the global value is available on all nodes
node = DCell::Node['test_node']
- 20.downto(0) do |i|
- break if node[:test_actor].the_answer
- sleep 1
- end
node[:test_actor].the_answer.should == 42
end
it "stores the keys of all globals" do
DCell::Global[:foo] = 1