Displaying 1 result from an estimated 1 matches for "get_new_ids".
2006 Oct 12
6
BackgrounDRb newbie stuck at first base. Fresh pair of eyes needed
...s ScrapeWorker < BackgrounDRb::Rails
attr_accessor :progress, :message, :ids_retrieved
def do_work(args)
@progress = 0
@message = args[:message] || ""
@job_completed = false
@hse_notices_retrieved = 0
puts args[:message]
get_new_ids(args)
end
def get_new_ids(args)
....
end
end|
However, I get NoMethodError (undefined method `ids_retrieved'' for
#<ScrapeWorker:0x2a678b8>)
Set up a quick unit test, and not surprisingly fails on first respond_to
| def test_should_respond_to...