summaryrefslogtreecommitdiffstats
path: root/spec/spin_spec.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-06-02 21:55:54 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-06-02 21:55:54 +0200
commit2a461e013ed0dfe7601292d71b080d83b8edcbf0 (patch)
treeaab8d4c3956d9229348fa75eb8ad1a073b37467e /spec/spin_spec.rb
parentef0351bc7598e698897d755b6cfe397d682296c4 (diff)
downloadedoors-ruby-2a461e013ed0dfe7601292d71b080d83b8edcbf0.zip
edoors-ruby-2a461e013ed0dfe7601292d71b080d83b8edcbf0.tar.gz
specs follow Particle#set_dst! -> Particle#add_dst
Diffstat (limited to 'spec/spin_spec.rb')
-rw-r--r--spec/spin_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/spin_spec.rb b/spec/spin_spec.rb
index aba79a8..69266e5 100644
--- a/spec/spin_spec.rb
+++ b/spec/spin_spec.rb
@@ -76,7 +76,7 @@ describe Iotas::Spin do
it "process_sys" do
spin = Iotas::Spin.new 'dom0'
p0 = spin.require_p Iotas::Particle
- p0.set_dst! 'unknown'
+ p0.add_dst 'unknown'
spin.send_sys_p p0
spin.spin!
p1 = spin.require_p Iotas::Particle
@@ -116,7 +116,7 @@ describe Iotas::Spin do
it "hibernate! resume!" do
spin = Iotas::Spin.new 'dom0'
p0 = spin.require_p Iotas::Particle
- p0.set_dst! Iotas::SYS_ACT_HIBERNATE
+ p0.add_dst Iotas::SYS_ACT_HIBERNATE
spin.send_sys_p p0
spin.spin!
dom0 = Iotas::Spin.resume! spin.hibernate_path