class RSpec::Rails::Matchers::ActiveJob::HaveBeenEnqueued

def matches?(job)

def matches?(job)
  @job = job
  check(queue_adapter.enqueued_jobs)
end