method
delivery_job_filter
v8.1.1 -
Show latest stable
- Class:
ActionMailer::TestHelper
delivery_job_filter(job)private
No documentation available.
# File actionmailer/lib/action_mailer/test_helper.rb, line 258
def delivery_job_filter(job)
job_class = job.is_a?(Hash) ? job.fetch(:job) : job.class
Base.descendants.map(&:delivery_job).include?(job_class)
end