From: ChrisKaelin Date: 2007-04-14T07:45:08+09:00 Subject: Re: unit-test ARGV problem (only 1 of 3 tests is using it) Found it... I used opts.parse!(args) as from the example from rdoc of OptionParser. Instead I should have used: opts.parse(args) which does not pop the ARGV values.