[Backgroundrb-devel] mocking a few things in the test helper

Jason LaPier jason.lapier at gmail.com
Thu Dec 20 13:40:32 EST 2007

When using the provided bdrb_test_helper, I was getting some undefined
methods (register_status, thread_pool, etc) in unit tests. The README
says to go ahead and stub out methods that need it, and send the patch
to the list, so here it is (attached). Also, the MetaWorker initialize
method was written as "initializes", causing the @logger never to be
set, causing undefined method errors reported as nil.info and
nil.debug (nil being the 'logger' method).

- Jason L.

My Rails and Linux Blog: http://offtheline.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bdrb_test_helper.patch
Type: text/x-patch
Size: 870 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20071220/37db8910/attachment.bin 

More information about the Backgroundrb-devel mailing list