summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/spin_spec.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/spin_spec.rb b/spec/spin_spec.rb
index 1c87e49..a58fd5c 100644
--- a/spec/spin_spec.rb
+++ b/spec/spin_spec.rb
@@ -73,6 +73,16 @@ describe EvenDoors::Spin do
spin.stop!
end
#
+ it "process_sys" do
+ spin = EvenDoors::Spin.new 'dom0'
+ p0 = spin.require_p EvenDoors::Particle
+ p0.set_dst! 'unknown'
+ spin.send_sys_p p0
+ spin.spin!
+ p1 = spin.require_p EvenDoors::Particle
+ p0.should be p0
+ end
+ #
it "option debug" do
spin = EvenDoors::Spin.new 'dom0'
spin.debug_routing.should be false