Just open bdrb_test_helper.rb file from test directory and mock out the method.
On 6/28/08, Dan Herrera <[EMAIL PROTECTED]> 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 > [email protected] > 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 _______________________________________________ Backgroundrb-devel mailing list [email protected] http://rubyforge.org/mailman/listinfo/backgroundrb-devel
