Closed nelantone closed 1 year ago
Hi @packrat386 & @mathieujobin,
We know be_deadable
sounds weird but explains much better what the test is doing. be_dead sounds like you are testing if the job is dead.
But what we want to do is different. we are checking if the class has the option :dead
Of course we are open to discuss about it and we will be happy to read some feedback for you guys.
Thanks :)
Hi guys! @packrat386 @mathieujobin Let me know if I can help you somehow in order to change and hopefully merge this branch :).
@philostler do you have some news about this PR ? Actually I'm using 'be_deadable' and I'm looking froward to take out from my code and use it from the rspec-sidekiq gem. Waiting for some feedback & hopefully you can :shipit: soon :)
Thanks for keeping this up to date, I should be able to take a look at it soon.
expect(JobClass.get_sidekiq_options[:dead]).to be_truthy
?
Thanks to @pavel-jurasek-bcgdv-com for the support/help.