rails/activejob/lib
Steve Lounsbury 38c187b0cc Provide the ability to override the queue adapter used by jobs under
test.

This PR adds a method called `queue_adapter_for_test` to
`ActiveJob::TestHelper`. This method is expected to provide the queue
adapter to be used for jobs under test. It maintains the current
behaviour by defaulting to an instance of
`ActiveJob::QueueAdapter::TestAdapter`. Tests that include
`ActiveJob::TestHelper` or extend from `ActiveJob::TestCase` can provide
a custom queue adapter by overriding `queue_adapter_for_test` in their
class.
2016-06-11 15:18:52 -04:00
..
active_job Provide the ability to override the queue adapter used by jobs under 2016-06-11 15:18:52 -04:00
rails/generators/job generate ApplicationJob if it does not already exist 2016-03-25 13:21:37 +09:00
active_job.rb Active Job: smaller footprint for the dev/test async adapter 2016-02-29 15:58:26 -07:00