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

Dan Herrera dan at revelationglobal.com
Sat Jun 28 00:44:28 EDT 2008


On Fri, Jun 27, 2008 at 9:32 PM,  <gethemant at gmail.com> wrote:
> Just open bdrb_test_helper.rb file from test directory and mock out the method.

Excellent, thank you!

dan

>
> 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