Sending Asynchronous Bulk-Notifications With Sidekiq: Part II – Testing With rspec-sidekiq

Posted by & filed under Rails, Testing.

Part I shows an implementation to send out huge numbers of notification-mails asynchronously using sidekiq: This solves the problem of clogging the requests with a huge number of mail-sends: But once you have made everything asynchronously – how do you test it? Here is the problem: Work is sent to redis via sidekiq, the (external)… Read more »