spec/dcell/global_spec.rb in dcell-0.9.0 vs spec/dcell/global_spec.rb in dcell-0.10.0

- old
+ new

@@ -9,9 +9,13 @@ 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