On Fri, Mar 28, 2008 at 8:25 PM, Jonathan Wallace <[EMAIL PROTECTED]> wrote: > On Fri, Mar 28, 2008 at 3:01 PM, Emil Marceta <[EMAIL PROTECTED]> wrote:
<snip/> > All of my workers are basically just calls into my models. I'm not > using the dynamic worker creation. This keeps all testing in > Test::Unit. I'm using bdrb to run jobs that are queued to the > database by controllers. Yes. however to do integration or functional testing - where controller starts the worker - fully mocked framework is needed. backroundrb_mock.rb in the older version is perfect, it does not require backgroundrb server and runs the worker class synchronously. However I'm still stuck at the step 1 - to invoke the worker. I get this exception : '' The error occurred while evaluating nil.send_request /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_master.rb:44:in `ask_worker' '' emil _______________________________________________ Backgroundrb-devel mailing list [email protected] http://rubyforge.org/mailman/listinfo/backgroundrb-devel
