Sha256: 0cf2e3dd4543b8ba2a15679e045ae66e5ef5b460bb5560576b4c7cdf3621c73e

Contents?: true

Size: 431 Bytes

Versions: 7

Compression:

Stored size: 431 Bytes

Contents

# frozen_string_literal: true

module TestJobs
  class Foo; end

  class FailingJob
    def perform
      raise 'Test failure'
    end
  end

  class NoOpJob
    def perform

    end
  end

  class CompletionJob
    cattr_accessor :invoked

    def perform
      CompletionJob.invoked = true
    end
  end

  class CancellationJob
    cattr_accessor :invoked

    def perform
      CancellationJob.invoked = true
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
delayed_job_groups_plugin-0.12.0 spec/support/test_jobs.rb
delayed_job_groups_plugin-0.11.0 spec/support/test_jobs.rb
delayed_job_groups_plugin-0.10.1 spec/support/test_jobs.rb
delayed_job_groups_plugin-0.10.0 spec/support/test_jobs.rb
delayed_job_groups_plugin-0.9.0 spec/support/test_jobs.rb
delayed_job_groups_plugin-0.8.0 spec/support/test_jobs.rb
delayed_job_groups_plugin-0.7.0 spec/support/test_jobs.rb