class RSpec::Rails::Matchers::ActiveJob::HaveBeenPerformed

def matches?(job)

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