summaryrefslogtreecommitdiffstats
path: root/test/test_evendoors.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-05-08 16:42:10 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-05-08 16:42:10 +0200
commit9872c959f0e95456612828c773319138e3a051f5 (patch)
tree2816558f0633c829c92da25cb7b95706a5188728 /test/test_evendoors.rb
parent23c3790d2397f343071c7481a91533a7b846a39f (diff)
downloadedoors-ruby-9872c959f0e95456612828c773319138e3a051f5.zip
edoors-ruby-9872c959f0e95456612828c773319138e3a051f5.tar.gz
test_evendoors: p.set_dst->p.set_dst!
Diffstat (limited to 'test/test_evendoors.rb')
-rw-r--r--test/test_evendoors.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_evendoors.rb b/test/test_evendoors.rb
index 9a53e43..18073d4 100644
--- a/test/test_evendoors.rb
+++ b/test/test_evendoors.rb
@@ -10,7 +10,7 @@ class InputDoor < EvenDoors::Door
puts " * start #{self.class.name} #{@path}" if EvenDoors::Twirl.debug
@lines = [ "#{name} says : hello", "world ( from #{path} )" ]
p = require_p EvenDoors::Particle
- p.set_dst EvenDoors::ACT_GET, path
+ p.set_dst! EvenDoors::ACT_GET, path
send_p p
end
#
@@ -29,7 +29,7 @@ class InputDoor < EvenDoors::Door
send_p p
if @lines.length>0
p = require_p EvenDoors::Particle
- p.set_dst EvenDoors::ACT_GET, name
+ p.set_dst! EvenDoors::ACT_GET, name
send_p p
end
else
@@ -103,7 +103,7 @@ p0.set_data EvenDoors::LNK_DSTS, 'concat1?follow,output1'
p0.set_data EvenDoors::LNK_FIELDS, 'f0,f2'
p0.set_data EvenDoors::LNK_CONDF, 'f0,f1,f2'
p0.set_data EvenDoors::LNK_CONDV, 'v0v1v2'
-p0.set_dst EvenDoors::SYS_ACT_ADD_LINK, room1.path
+p0.set_dst! EvenDoors::SYS_ACT_ADD_LINK, room1.path
room1.send_sys_p p0 # send_sys_p -> room0 -> space -> room1 -> input1
#
space.twirl!