summaryrefslogtreecommitdiffstats
path: root/spec/spot_spec.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-06-26 16:33:03 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-06-26 16:33:03 +0200
commit4ff59096a901c337e51eb7ce2827b199645ea898 (patch)
treeefb1c39fb86cff66e395ef63fc8b624ea87859df /spec/spot_spec.rb
parentf3835844329e2e5bbc2ae757a7ca11eacb6f1d7f (diff)
downloadedoors-ruby-4ff59096a901c337e51eb7ce2827b199645ea898.zip
edoors-ruby-4ff59096a901c337e51eb7ce2827b199645ea898.tar.gz
update spot_specs->iota_Specs
Diffstat (limited to 'spec/spot_spec.rb')
-rw-r--r--spec/spot_spec.rb26
1 files changed, 0 insertions, 26 deletions
diff --git a/spec/spot_spec.rb b/spec/spot_spec.rb
deleted file mode 100644
index 38f61b7..0000000
--- a/spec/spot_spec.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#! /usr/bin/env ruby
-# -*- coding: UTF-8 -*-
-#
-
-require 'spec_helper'
-#
-describe Edoors::Iota do
- #
- it "path construction" do
- class S<Edoors::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 { 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
-#
-# EOF