method

enqueued_jobs_size

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: TestHelper
enqueued_jobs_size(only: nil) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activejob/lib/active_job/test_helper.rb, line 302
      def enqueued_jobs_size(only: nil) # :nodoc:
        if only
          enqueued_jobs.count { |job| Array(only).include?(job.fetch(:job)) }
        else
          enqueued_jobs.count
        end
      end
Register or log in to add new notes.