diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-06-10 23:27:09 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-06-10 23:27:09 +0200 |
commit | 5fbda1780698b2470133672aea247cfd35ba3e85 (patch) | |
tree | 18583e4e339038f31a1ae45bf511dbec34b067f3 /spec | |
parent | 71fa3a07057f7ba1d2b27c0b3e98d71354b4a049 (diff) | |
download | edoors-ruby-5fbda1780698b2470133672aea247cfd35ba3e85.zip edoors-ruby-5fbda1780698b2470133672aea247cfd35ba3e85.tar.gz |
Spin: to_json stores iota and links into inner_room
This allows top iotas to be Doors and not only Rooms
Diffstat (limited to 'spec')
-rw-r--r-- | spec/spin_spec.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/spin_spec.rb b/spec/spin_spec.rb index 93ddf27..9d73b90 100644 --- a/spec/spin_spec.rb +++ b/spec/spin_spec.rb @@ -117,6 +117,9 @@ describe Edoors::Spin do spin = Edoors::Spin.new 'dom0' p0 = spin.require_p Edoors::Particle p0.add_dst Edoors::SYS_ACT_HIBERNATE + Edoors::Room.new 'input', spin + Edoors::Room.new 'output', spin + spin.add_link Edoors::Link.new('input', 'output', nil, nil, nil) spin.send_sys_p p0 spin.spin! dom0 = Edoors::Spin.resume! spin.hibernate_path |