summaryrefslogtreecommitdiffstats
path: root/spec/spin_spec.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-06-27 11:49:10 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-06-27 11:49:10 +0200
commit06fe1fe549d6c7dbb643a07a485d24c3e45216d3 (patch)
tree90947a79c9732a3424b28fd972de06e070e95c53 /spec/spin_spec.rb
parent2526cd9aef3bb7dc04901be4067dd211f03fe9b5 (diff)
parent7cfcad744d3e18cbe8a9f71c43a0cad1e8fdd6b4 (diff)
downloadedoors-ruby-06fe1fe549d6c7dbb643a07a485d24c3e45216d3.zip
edoors-ruby-06fe1fe549d6c7dbb643a07a485d24c3e45216d3.tar.gz
Merge branch 'rewrite0'
Diffstat (limited to 'spec/spin_spec.rb')
-rw-r--r--spec/spin_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/spin_spec.rb b/spec/spin_spec.rb
index 9ceebf8..9c2e2ea 100644
--- a/spec/spin_spec.rb
+++ b/spec/spin_spec.rb
@@ -86,10 +86,10 @@ describe Edoors::Spin do
it "option debug" do
spin = Edoors::Spin.new 'dom0'
spin.debug_routing.should be false
- spin.debug_errors.should be false
- spin = Edoors::Spin.new 'dom0', :debug_routing=>true, :debug_errors=>true
+ spin.debug_garbage.should be false
+ spin = Edoors::Spin.new 'dom0', :debug_routing=>true, :debug_garbage=>true
spin.debug_routing.should be true
- spin.debug_errors.should be true
+ spin.debug_garbage.should be true
end
#
it "search world" do
@@ -129,7 +129,7 @@ describe Edoors::Spin do
p0.add_dst Edoors::SYS_ACT_HIBERNATE
Edoors::Room.new 'input', spin
Edoors::Room.new 'output', spin
- spin.add_link Edoors::Link.new('input', 'output', nil, nil, nil)
+ spin.add_link Edoors::Link.new('input', 'output', nil, nil)
spin.send_sys_p p0
spin.spin!
dom0 = Edoors::Spin.resume! spin.hibernate_path