title: How can I test `perform_now` job in Rails
body: <p>Recently on my current project, I noticed that on our integration test, there are many <code>assert_enqueued_jobs 1</code> code are commented out, then I ask other developer about it, He told me that we've changed many <strong>ActiveJob</strong> <code>perform_later</code> call to <code>perform_now</code> for speed reason, and that <code>assert_enqueued_jobs</code> can't catch those performed now jobs.</p>
  
  <p>I've tried using <code>assert_performed_jobs</code> also but didn't worked out.</p>
  
  <p>Can anyone give me insight or suggestion to test it? or it just can't be testable?</p>