From: Brian Candler Date: 2010-05-12T23:30:05+09:00 Subject: Re: Unit Test of method calling system() - how? Martin Hansen wrote: > (Probably the assertion should be something more sane) There's no need to assert anything - the mock setup is adding assertions at the end of the test, as you already saw. If you do want to assert explicitly that everything went normally, then assert_nothing_raised {} is what I would use. > Thanks Brian, much appreciated! You're welcome. -- Posted via http://www.ruby-forum.com/.