Sidekiq Problem

Fixed not sure how to delete yet

Hey @tonytaudesign, no need to delete the post, leaving it up with your original question might help someone else who has a similar issue in the future.

Trying to figure how to do asynchronous tests for sidekiq tasks. Any idea where to start with this?

If you can test the synchronous task (MyWorkerClass.new.peform), then you should be covered on the asynchronous ones. If you want to test queueing, Sidekiq also has easy matchers for that.

There’s a good page on testing tips and gotchas on the Sidekiq repo:

And there’s a great RSpec plugin that I really like: