diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-13 00:43:08 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-13 00:43:08 +0200 |
commit | ba108de1be22fbcbf5d34bab4aec337120bba60d (patch) | |
tree | 4d02ce96ab98b5d2583e5819eaf4d0548da1a4a0 /spec/spin_spec.rb | |
parent | 820be8a21f9d5d80f33903783a8067d5cf49904c (diff) | |
download | edoors-ruby-ba108de1be22fbcbf5d34bab4aec337120bba60d.zip edoors-ruby-ba108de1be22fbcbf5d34bab4aec337120bba60d.tar.gz |
Spin: send_ -> post_
Diffstat (limited to 'spec/spin_spec.rb')
-rw-r--r-- | spec/spin_spec.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/spin_spec.rb b/spec/spin_spec.rb index 3797bc5..f8cdc60 100644 --- a/spec/spin_spec.rb +++ b/spec/spin_spec.rb @@ -57,15 +57,15 @@ describe EvenDoors::Spin do (p2==p1).should be_false end # - it "send_p send_sys_p spin!" do + it "post_p post_sys_p spin!" do spin = EvenDoors::Spin.new 'dom0' f = Fake.new 'fake', spin p0 = spin.require_p EvenDoors::Particle p0.dst_routed! f p1 = spin.require_p EvenDoors::Particle p1.dst_routed! f - spin.send_p p0 - spin.send_sys_p p1 + spin.post_p p0 + spin.post_sys_p p1 spin.run = true spin.spin! f.p.should be p0 @@ -95,9 +95,9 @@ describe EvenDoors::Spin do p0 = spin.require_p EvenDoors::Particle p1 = spin.require_p EvenDoors::Particle p2 = spin.require_p EvenDoors::Particle - spin.send_p p0 - spin.send_p p1 - spin.send_sys_p p2 + spin.post_p p0 + spin.post_p p1 + spin.post_sys_p p2 json = JSON.generate spin dom0 = EvenDoors::Spin.json_create( JSON.load( json ) ) json.should eql JSON.generate(dom0) |