diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-10 23:20:50 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-10 23:20:50 +0200 |
commit | 2fdbbb0f986d047c69e44b6768be08f3e0bb2d79 (patch) | |
tree | 510e29bd9a4c5707f51df332812a6a729d8a0c35 | |
parent | bee11419fe984734f414a78e87b4e214256b13c5 (diff) | |
download | edoors-ruby-2fdbbb0f986d047c69e44b6768be08f3e0bb2d79.zip edoors-ruby-2fdbbb0f986d047c69e44b6768be08f3e0bb2d79.tar.gz |
specs: complete Spin coverage
-rw-r--r-- | spec/spin_spec.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/spin_spec.rb b/spec/spin_spec.rb index b67fb6e..7e171a5 100644 --- a/spec/spin_spec.rb +++ b/spec/spin_spec.rb @@ -75,6 +75,14 @@ describe EvenDoors::Spin do # it "spin->json->spin" do spin = EvenDoors::Spin.new 'dom0', :debug_routing=>true + r0 = EvenDoors::Room.new 'r0', spin + r1 = EvenDoors::Room.new 'r1', r0 + r2 = EvenDoors::Room.new 'r2', r1 + r3 = EvenDoors::Room.new 'r3', r1 + r4 = EvenDoors::Room.new 'r4', r3 + d0 = EvenDoors::Door.new 'd0', r1 + d1 = EvenDoors::Door.new 'd1', r1 + d2 = EvenDoors::Door.new 'd2', r2 p0 = EvenDoors::Spin.require_p EvenDoors::Particle p1 = EvenDoors::Spin.require_p EvenDoors::Particle p2 = EvenDoors::Spin.require_p EvenDoors::Particle |