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/. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users