[rspec-users] Such a simple test fails. But why ?

Serguei Cambour lists at ruby-forum.com
Thu Feb 16 05:14:12 EST 2012

I found why and shame on me :(((.
The array variable 'argv' was passed by reference into the Options class
and was modified there by 'parse' method. That's why, when returned back
to the testing code, the array was nil.

Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list