diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-06-13 00:19:12 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-06-13 00:19:12 +0200 |
commit | 8724b1424c81e62dd94ad71d39c7f73d7a33f2c8 (patch) | |
tree | b4e1c17f6823853b0cacd784f7a8095710fd7044 /spec/spot_spec.rb | |
parent | 74d45762846ea7e6ac09f65fb31672b822f7a349 (diff) | |
download | edoors-ruby-0.0.5.zip edoors-ruby-0.0.5.tar.gz |
iotas release 0.0.5v0.0.5
Diffstat (limited to 'spec/spot_spec.rb')
-rw-r--r-- | spec/spot_spec.rb | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/spec/spot_spec.rb b/spec/spot_spec.rb deleted file mode 100644 index 1ed2b03..0000000 --- a/spec/spot_spec.rb +++ /dev/null @@ -1,26 +0,0 @@ -#! /usr/bin/env ruby -# -*- coding: UTF-8 -*- -# - -require 'spec_helper' -# -describe Iotas::Iota do - # - it "path construction" do - class S<Iotas::Iota - def add_iota s - end - end - s0 = S.new 'top', nil - s1 = S.new 'room0', s0 - 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) - end - # -end -# -# EOF |