1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activejob/test
Étienne Barrié c6d621d132 Remove jobs from queue when performing in tests
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`.
2020-03-16 15:09:33 -04:00
..
adapters Remove support for Qu gem. 2018-03-19 21:27:16 +01:00
cases Remove jobs from queue when performing in tests 2020-03-16 15:09:33 -04:00
integration Add support for que name to Que adapter. 2020-03-04 13:50:13 +01:00
jobs Fix AJ TestAdapter#performed_jobs not properly counting job: 2020-03-09 19:46:11 -04:00
models [Active Job] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
support Fix warning: method redefined 2020-03-13 18:19:14 +01:00
helper.rb Set AJ return_false_on_aborted_enqueue true in the test suite: 2019-12-28 16:56:54 +01:00