diff options
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 4fe107c..72a314a 100644 --- a/spec/evendoors_spec.rb +++ b/spec/evendoors_spec.rb @@ -225,6 +225,18 @@ describe EvenDoors do p.door.should eql nil p.action.should eql 'action' # + p.set_dst! '' + p.split_dst! + p.room.should be_nil + p.door.should be_nil + p.action.should be_nil + # + p.set_dst! nil + p.split_dst! + p.room.should be_nil + p.door.should be_nil + p.action.should be_nil + # end # it "routing: error!" do |