diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-08 17:03:51 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-08 17:03:51 +0200 |
commit | 4e70e5241423b8db0806f53b302c9b774a8f873f (patch) | |
tree | 5031ae94816494af83c6f78eff38822aaef2aee2 /spec/evendoors_spec.rb | |
parent | 0fccc3b247a7d4e0364cbebc80e89e8797c30e29 (diff) | |
download | edoors-ruby-4e70e5241423b8db0806f53b302c9b774a8f873f.zip edoors-ruby-4e70e5241423b8db0806f53b302c9b774a8f873f.tar.gz |
specs: complete Spot coverage
Diffstat (limited to 'spec/evendoors_spec.rb')
-rw-r--r-- | spec/evendoors_spec.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/spec/evendoors_spec.rb b/spec/evendoors_spec.rb index d90423a..fbc265c 100644 --- a/spec/evendoors_spec.rb +++ b/spec/evendoors_spec.rb @@ -231,4 +231,16 @@ describe EvenDoors do # end # + describe EvenDoors::Link do + # + it "path construction should work" do + s0 = EvenDoors::Spot.new '//top', nil + s1 = EvenDoors::Spot.new '//room0/', s0 + s2 = EvenDoors::Spot.new 'room1', s1 + s3 = EvenDoors::Spot.new 'door///', s2 + s3.path.should eql 'top/room0/room1/door' + end + # + end + # end |