Question: ActiveJob inline queue adapter for specific jobs

Question

ActiveJob inline queue adapter for specific jobs

Answers 0
Added at 2016-11-14 21:11
Tags
Question

Is there any way to set ActiveJob queue adapter to inline for specific background jobs?

In my case I'd like to run some background jobs in tests to build integration tests. I don't bother with job internal details since my purpose is just to run background jobs and assert the result. However these integrations tests does not cover all background jobs, so I don't want to set queue adapter globally.

Answers to

ActiveJob inline queue adapter for specific jobs

Source Show
◀ Wstecz