views:

44

answers:

0

Hi,

I have put some tasks in my rails app over to a Workling worker - my question is, what is best practice to test the Workling class with rspec?

I have set up rspec to be able to call the Workling class, (I use Sterling too), but since it is asyncron I dont know how to test for the result of the work done by workling.

Thanks