diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-08 23:43:54 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-08 23:43:54 +0200 |
commit | 565060421d086fdc8e5f58179b45181b11b5cd63 (patch) | |
tree | 36db5873e7b130225f4497f919015b3edf4c4716 /spec | |
parent | 6c0975a3771171ff5ee611d29ef101c189440947 (diff) | |
download | edoors-ruby-565060421d086fdc8e5f58179b45181b11b5cd63.zip edoors-ruby-565060421d086fdc8e5f58179b45181b11b5cd63.tar.gz |
Link: add nil default values to initialize
Diffstat (limited to 'spec')
-rw-r--r-- | spec/evendoors_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/evendoors_spec.rb b/spec/evendoors_spec.rb index 259c3bc..51e193e 100644 --- a/spec/evendoors_spec.rb +++ b/spec/evendoors_spec.rb @@ -136,6 +136,12 @@ describe EvenDoors do p.merged(1).should be_nil p.merged_shift.should be o p.merged(0).should be_nil + p.merge! q + p.merge! o + p.merged(0).should be q + p.merged(1).should be o + p.clear_merged! + p.merged(0).should be_nil end # it "routing: add_dsts, next_dst and dst_routed!" do |