summaryrefslogtreecommitdiffstats
path: root/spec/particle_spec.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-05-11 11:47:45 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-05-12 09:38:01 +0200
commitd2855043c53bd4f84a4ca425947948fd31a93432 (patch)
tree4db9212544efe93fbd1ebadcd642af5607eb3879 /spec/particle_spec.rb
parent1985e84383540100d797579f88c6d1ce072e1463 (diff)
downloadedoors-ruby-d2855043c53bd4f84a4ca425947948fd31a93432.zip
edoors-ruby-d2855043c53bd4f84a4ca425947948fd31a93432.tar.gz
Particle relies on spin field to resolve src and dst not parent
Diffstat (limited to 'spec/particle_spec.rb')
-rw-r--r--spec/particle_spec.rb2
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