• É
    Remove jobs from queue when performing in tests · c6d621d1
    Étienne Barrié 提交于
    This makes sure jobs don't run twice if `perform_enqueued_jobs` is
    called twice without a block.
    
    This also mimics the behavior of using `perform_enqueued_jobs` with a
    block, where at the end of the block performed jobs are not in
    `enqueued_jobs` but instead in `performed_jobs`.
    c6d621d1
test_helper_test.rb 57.7 KB