ruby on rails - How do I silence the delayed_job output in test? -


I am using delayed_job for background tasks such as system e-mail and event at different times. I delayed the closure of events in my RSPEC tests: the worker New.work_off, but then put into the exams like: *

After completion I think for debugging Output is useful, but is there a way to mute it?

Thank you.

Try this:

  worker = delays :: worker New (: max_preity = & gt; zero: min_priority = & gt; zero ;: cool = & gt;) Worker.work_off  

This is to clear the spam by telling the worker to remain silent Should ...


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -