diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-11 11:47:45 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-12 09:38:01 +0200 |
commit | d2855043c53bd4f84a4ca425947948fd31a93432 (patch) | |
tree | 4db9212544efe93fbd1ebadcd642af5607eb3879 /spec | |
parent | 1985e84383540100d797579f88c6d1ce072e1463 (diff) | |
download | edoors-ruby-d2855043c53bd4f84a4ca425947948fd31a93432.zip edoors-ruby-d2855043c53bd4f84a4ca425947948fd31a93432.tar.gz |
Particle relies on spin field to resolve src and dst not parent
Diffstat (limited to 'spec')
-rw-r--r-- | spec/particle_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/particle_spec.rb b/spec/particle_spec.rb index bcd8959..e96f66c 100644 --- a/spec/particle_spec.rb +++ b/spec/particle_spec.rb @@ -207,7 +207,7 @@ describe EvenDoors::Particle do p1.add_dsts 'room0/room1/door?action,output?action' p0.merge! p1 o = JSON.load( JSON.generate(p0) ) - o['parent'] = s0 + o['spin'] = s0 px = EvenDoors::Particle.json_create( o ) ((px.ts-p0.ts)<0.5).should be_true px.src.should be s3 |