diff options
Diffstat (limited to 'spec/particle_spec.rb')
-rw-r--r-- | spec/particle_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/particle_spec.rb b/spec/particle_spec.rb index 206c37c..8d926ef 100644 --- a/spec/particle_spec.rb +++ b/spec/particle_spec.rb @@ -110,6 +110,12 @@ describe Edoors::Particle do p.set_dst! 'action', d0 p.action.should eql 'action' p.dst.should be d0 + # + p.set_dst! 'action', '/world/room/door' + p.action.should eql 'action' + p.dst.should be nil + p.room.should eql '/world/room' + p.door.should eql 'door' end # it "routing: add_dst and split_dst!" do |