search for: should_be_trigg

Displaying 1 result from an estimated 1 matches for "should_be_trigg".

2006 Jul 19
1
Testing worker classes
...'ll need to put it in the non-test class that calls new_worker, but I''m not there yet. Is testing workers just a non-starter? Here''s the test method: def test_task_is_triggered job_key = MiddleMan.new_worker :class => :task_checker_worker, :args => tasks(:should_be_triggered) @job_keys << job_key # ...assertions go here... end thanks, jh -- James Hughes Web application developer Vancouver, BC "Developing a coherent political analysis is in many respects contingent upon an ability to connect one context to another, a process not dissimil...