Prev: Ways to compare the performance of different Rubyimplementations
Next: How to synchronize files, from FTP to computer ?
From: Brian Candler on 12 May 2010 10:30 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/. |