summaryrefslogtreecommitdiffstats
path: root/spec/spot_spec.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-06-10 11:11:28 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-06-10 11:11:28 +0200
commit6553912a6dff9b2c8bd3f06cb5f10488eef2c18c (patch)
tree804cbb720c993afd5453ea4a8086b264e22382fe /spec/spot_spec.rb
parent74d45762846ea7e6ac09f65fb31672b822f7a349 (diff)
downloadedoors-ruby-6553912a6dff9b2c8bd3f06cb5f10488eef2c18c.zip
edoors-ruby-6553912a6dff9b2c8bd3f06cb5f10488eef2c18c.tar.gz
project iotas->edoors-ruby, module Iotas->Edoors
Diffstat (limited to 'spec/spot_spec.rb')
-rw-r--r--spec/spot_spec.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/spot_spec.rb b/spec/spot_spec.rb
index 1ed2b03..38f61b7 100644
--- a/spec/spot_spec.rb
+++ b/spec/spot_spec.rb
@@ -4,10 +4,10 @@
require 'spec_helper'
#
-describe Iotas::Iota do
+describe Edoors::Iota do
#
it "path construction" do
- class S<Iotas::Iota
+ class S<Edoors::Iota
def add_iota s
end
end
@@ -16,9 +16,9 @@ describe Iotas::Iota do
s2 = S.new 'room1', s1
s3 = S.new 'door', s2
s3.path.should eql 'top/room0/room1/door'
- lambda { Iotas::Iota.new('do/or0', nil) }.should raise_error(Iotas::Exception)
- lambda { Iotas::Iota.new('/door0', nil) }.should raise_error(Iotas::Exception)
- lambda { Iotas::Iota.new('door0/', nil) }.should raise_error(Iotas::Exception)
+ lambda { Edoors::Iota.new('do/or0', nil) }.should raise_error(Edoors::Exception)
+ lambda { Edoors::Iota.new('/door0', nil) }.should raise_error(Edoors::Exception)
+ lambda { Edoors::Iota.new('door0/', nil) }.should raise_error(Edoors::Exception)
end
#
end