summaryrefslogtreecommitdiffstats
path: root/spec/board_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/board_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/board_spec.rb')
-rw-r--r--spec/board_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/board_spec.rb b/spec/board_spec.rb
index b533b23..d549530 100644
--- a/spec/board_spec.rb
+++ b/spec/board_spec.rb
@@ -68,9 +68,9 @@ describe Iotas::Board do
b0.process_p p0
p0.merged(0).should be_nil
# need to set it to p0 too, so case in Board0 is ok
- p0.set_dst! Iotas::ACT_FOLLOW
+ p0.add_dst Iotas::ACT_FOLLOW
p0.split_dst!
- p1.set_dst! Iotas::ACT_FOLLOW
+ p1.add_dst Iotas::ACT_FOLLOW
p1.split_dst!
b0.process_p p1
b0.ok.should be_true