diff options
Diffstat (limited to 'activejob/lib/active_job')
-rw-r--r-- | activejob/lib/active_job/test_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activejob/lib/active_job/test_helper.rb b/activejob/lib/active_job/test_helper.rb index 0a9ca3a814..0ab3c5126d 100644 --- a/activejob/lib/active_job/test_helper.rb +++ b/activejob/lib/active_job/test_helper.rb @@ -322,8 +322,8 @@ module ActiveJob jobs = enqueued_jobs end - matching_job = jobs.find do |in_block_job| - serialized_args.all? { |key, value| value == in_block_job[key] } + matching_job = jobs.find do |enqueued_job| + serialized_args.all? { |key, value| value == enqueued_job[key] } end assert matching_job, "No enqueued job found with #{expected}" |