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
John Crepezzi 647317d17e Add at option to perform_enqueued_jobs test helper
Currently, the `perform_enqueued_jobs` helpers will also immediately
perform jobs that are scheduled via `set(wait:)` to run in the future.
This commit adds a new argument to `perform_enqueued_jobs` to make it
only run jobs scheduled at or before the passed in `Time`. This allows
testing the side effects of immediate job execution separate of jobs
delayed in the future.
2019-08-06 16:31:48 +02:00
..
adapters Remove support for Qu gem. 2018-03-19 21:27:16 +01:00
cases Add at option to perform_enqueued_jobs test helper 2019-08-06 16:31:48 +02:00
integration Enable Style/RedundantBegin cop to avoid newly adding redundant begin block 2018-12-21 06:12:42 +09:00
jobs Require time extensions in the job that depends on time 2019-08-02 00:52:02 -04:00
models [Active Job] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
support Use try only when we're unsure if the receiver would respond_to the method 2019-08-01 17:58:00 +09:00
helper.rb Output junit format test report 2019-04-04 14:34:46 +09:00