class ActiveJob::QueueAdapters::TestAdapter

def enqueued_jobs

Provides a store of all the enqueued jobs with the TestAdapter so you can check them.
def enqueued_jobs
  @enqueued_jobs ||= []
end