Skip to content

seperate running DelayedJobs spec

mh requested to merge delayed-job-fixes into master

Some DelayedJobs were broken

We are loading all the deps for DelayedJobs in lib/iapi/delayed_jobs_cli.rb The idea behind it, that we are only loading the dependencies really needed in DelaydJobs.

However, this also means that we need to add required dependencies twice and this gets sometimes forgotten.

Also specs not ending in _spec.rb are not executed, so our existing account_jobs spec was actually not executed and thus not testing anything at all.

Obviously, we had missed some new deps in recent refactors and thus they are now being added, so the specs are fully working again.

Adding also tests for all current DelayedJob

Merge request reports