mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Add CHANGELOG entry for ActiveJob change
In #36864 we made a change to an ActiveJob test helper to add a new parameter for testing jobs delayed into the future. This commit adds a CHANGELOG entry for that change as well as fixing a circular argument error.
This commit is contained in:
parent
c2f197c775
commit
c45c84db72
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
* Add `at` argument to the `perform_enqueued_jobs` test helper.
|
||||
|
||||
*John Crepezzi*, *Eileen Uchitelle*
|
||||
|
||||
* `assert_enqueued_with` and `assert_performed_with` can now test jobs with relative delay.
|
||||
|
||||
*Vlado Cingel*
|
||||
|
|
|
@ -117,7 +117,7 @@ module ActiveJob
|
|||
# HelloJob.perform_later('elfassy')
|
||||
# end
|
||||
# end
|
||||
def assert_enqueued_jobs(number, only: nil, except: nil, queue: nil, at: at)
|
||||
def assert_enqueued_jobs(number, only: nil, except: nil, queue: nil)
|
||||
if block_given?
|
||||
original_count = enqueued_jobs_with(only: only, except: except, queue: queue)
|
||||
|
||||
|
|
Loading…
Reference in a new issue