diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-09 10:11:09 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-09 10:11:09 +0200 |
commit | dbf06ee875ae9529a499ef70f1b11147467d1c14 (patch) | |
tree | 867c4e00f2c7edd99a99f2bd47b90833c01613b5 /spec/evendoors_spec.rb | |
parent | e8fde9995210e8d7ab64c19ec7d5fc9ca3a647eb (diff) | |
download | edoors-ruby-dbf06ee875ae9529a499ef70f1b11147467d1c14.zip edoors-ruby-dbf06ee875ae9529a499ef70f1b11147467d1c14.tar.gz |
specs: complete Particle#set_dst! 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 5718538..b6b7d30 100644 --- a/spec/evendoors_spec.rb +++ b/spec/evendoors_spec.rb @@ -195,6 +195,18 @@ describe EvenDoors do p.door.should eql 'door' p.action.should eql 'action' # + p.set_dst! 'action', '' + p.split_dst! + p.room.should eql nil + p.door.should eql nil + p.action.should eql 'action' + # + p.set_dst! 'action' + p.split_dst! + p.room.should eql nil + p.door.should eql nil + p.action.should eql 'action' + # p.clear_dsts! p.add_dsts 'door?action,?action' p.split_dst! |