diff options
| author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-09 13:45:01 +0200 | 
|---|---|---|
| committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-09 13:45:01 +0200 | 
| commit | 52fc556a6925275e34ee9cd31c6e7d725e58d9a8 (patch) | |
| tree | c66075eb0aa6b42954689693a656b680808dc546 | |
| parent | f2c9b2cf41d223e29c08ba68dc6ce1e0313b0058 (diff) | |
| download | edoors-ruby-52fc556a6925275e34ee9cd31c6e7d725e58d9a8.zip edoors-ruby-52fc556a6925275e34ee9cd31c6e7d725e58d9a8.tar.gz  | |
specs: Particle#set_dst! should not add unaceptable destinations
| -rw-r--r-- | spec/evendoors_spec.rb | 3 | 
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  | 
