aboutsummaryrefslogblamecommitdiffstats
path: root/activejob/test/jobs/abort_before_enqueue_job.rb
blob: fd278eccf4677ca7184f6f78023685cde492a867 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                             
# frozen_string_literal: true

class AbortBeforeEnqueueJob < ActiveJob::Base
  before_enqueue { throw(:abort) }

  def perform
    raise "This should never be called"
  end
end