使用delay_until创建测试sidekiq作业

时间:2013-12-01 20:52:02

标签: ruby sidekiq

我正在使用sidekiq的delay_until功能,如下所示:

email.check_for_response_jid = CheckForResponse.delay_until(email.check_for_response).perform_async(email.id)

有没有什么方法可以测试这个工作是在这样调用时创建的?

0 个答案:

没有答案