From f98b37998ada09e2d87c5815a0ca5725f62b6952 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 14 May 2012 19:34:07 +0200 Subject: specs: add Spin.process_sys_p specs --- spec/spin_spec.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- cgit v1.1-2-g2b99