summaryrefslogtreecommitdiffstats
path: root/spec/room_spec.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-05-18 11:46:07 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-05-18 11:46:07 +0200
commitcb0ffa6cfd04dfae81bce57fbbe528f719d3efe5 (patch)
tree50ef5ce866751a81624eaa47dbe726d761702cb3 /spec/room_spec.rb
parent3e01a17ec9ed22867b409ffedab20e160de90ff7 (diff)
downloadedoors-ruby-cb0ffa6cfd04dfae81bce57fbbe528f719d3efe5.zip
edoors-ruby-cb0ffa6cfd04dfae81bce57fbbe528f719d3efe5.tar.gz
Spot->Iota
Diffstat (limited to 'spec/room_spec.rb')
-rw-r--r--spec/room_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/room_spec.rb b/spec/room_spec.rb
index 06811a5..1d394ac 100644
--- a/spec/room_spec.rb
+++ b/spec/room_spec.rb
@@ -14,11 +14,11 @@ describe Iotas::Room do
@spin.clear!
end
#
- it "add_spot and add_link correctly" do
+ it "add_iota and add_link correctly" do
r0 = Iotas::Room.new 'room0', @spin
d0 = Iotas::Door.new 'door0', r0
lambda { Iotas::Door.new('door0', r0) }.should raise_error(Iotas::Exception)
- lambda { r0.add_spot Iotas::Door.new('door1', r0) }.should raise_error(Iotas::Exception)
+ lambda { r0.add_iota Iotas::Door.new('door1', r0) }.should raise_error(Iotas::Exception)
r0.add_link Iotas::Link.new 'door0', 'somewhere'
lambda { r0.add_link(Iotas::Link.new('nowhere', 'somewhere')) }.should raise_error(Iotas::Exception)
end