summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--spec/evendoors_spec.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/evendoors_spec.rb b/spec/evendoors_spec.rb
index c3b1df1..703739b 100644
--- a/spec/evendoors_spec.rb
+++ b/spec/evendoors_spec.rb
@@ -226,18 +226,21 @@ describe EvenDoors do
p.action.should eql 'action'
#
p.set_dst! ''
+ p.next_dst.should be_nil
p.split_dst!
p.room.should be_nil
p.door.should be_nil
p.action.should be_nil
#
p.set_dst! nil
+ p.next_dst.should be_nil
p.split_dst!
p.room.should be_nil
p.door.should be_nil
p.action.should be_nil
#
p.set_dst! ' ', ' '
+ p.next_dst.should be_nil
p.split_dst!
p.room.should be_nil
p.door.should be_nil