wspurgin / rspec-sidekiq

RSpec for Sidekiq
https://github.com/wspurgin/rspec-sidekiq
Other
662 stars 133 forks source link

be_delayed matcher fails with Sidekiq 5 #123

Closed nbibler closed 1 year ago

nbibler commented 7 years ago

The current spec suite fails for the be_delayed matcher with uninitialized constant Sidekiq::Extensions::DelayedClass.

According to the Sidekiq Upgrade doc:

The Delayed Extensions delay, delay_in and delay_until APIs are no longer available by default.

Add this line to your initializer to re-enable them and get the old behavior: Sidekiq::Extensions.enable_delay!

Skillvendor commented 7 years ago

God!

wspurgin commented 1 year ago

Since been fixed