My goal is to assert that a job is deleted.
If I use Sidekiq::ScheduledSet.new in fake! test mode the jobs is not populated with the jobs
and if I use DummyWorker.jobs then:
1. the job is presented as hash and checking for the klass type is different from ScheduledSet way retri[:klass] != retri.klass
2. the delete method doesn't remove the job from the DummyWorker.jobs
In the docs/code there is no example how to test that the jobs is deleted. How do you assert this?
Maybe the #jobs way should start obey the delete method?