[Backgroundrb-devel] Tests failing when using 'reload_on_schedule true'

gethemant at gmail.com gethemant at gmail.com
Sat Jun 28 00:32:43 EDT 2008


Just open bdrb_test_helper.rb file from test directory and mock out the method.

On 6/28/08, Dan Herrera <dan at revelationglobal.com> wrote:
> Hi All,
>
> When I add the line 'reload_on_schedule true' to my worker, my tests
> will no longer run with the following exception:
>
> Starting ferret DRb
> server.../Users/revelation/projects/revelation-project/config/../lib/workers/alert_worker.rb:3:
> undefined method `reload_on_schedule' for AlertWorker:Class
> (NoMethodError)
>
> class AlertWorker < BackgrounDRb::MetaWorker
>   set_worker_name :alert_worker
>   reload_on_schedule true
>
>  ...
> end
>
> Anyone else seen this?
>
> Thanks!
>
> dan
> _______________________________________________
> Backgroundrb-devel mailing list
> Backgroundrb-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/backgroundrb-devel
>


-- 
Let them talk of their oriental summer climes of everlasting
conservatories; give me the privilege of making my own summer with my
own coals.

http://gnufied.org


More information about the Backgroundrb-devel mailing list