instance method
delivery_job_filter
Ruby on Rails 6.0.6
Since v6.0.6 PrivateSignature
delivery_job_filter(job)
No documentation comment.
Parameters
-
jobreq
Source
# File actionmailer/lib/action_mailer/test_helper.rb, line 155
def delivery_job_filter(job)
job_class = job.is_a?(Hash) ? job.fetch(:job) : job.class
Base.descendants.map(&:delivery_job).include?(job_class) ||
ActionMailer::Parameterized::DeliveryJob == job_class
end
Defined in actionmailer/lib/action_mailer/test_helper.rb line 155
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionMailer::TestHelper