How to write TDD by Rspec with background_job using workers

Dear all,
I want to write TDD Test with Rpec for Background_job using Worker
I using Background_job and Worker for Upload,Dowload file..
Please give some advice for this problem.
Thanks...