From: Martin Hansen Date: 2010-05-11T00:05:13+09:00 Subject: Unit Test of method calling system() - how? How can I unit test the two methods: print_usage_full_and_exit and print_usage_short_and_exit http://pastie.org/953804 Possibly, I need to change the code into something more testable! Ideas most welcome! Martin -- Posted via http://www.ruby-forum.com/.