Sha256: e096cd5c5b29139283478a663b10c6a490ae7d66d3121e482a9437d2d1e150b1

Contents?: true

Size: 301 Bytes

Versions: 16

Compression:

Stored size: 301 Bytes

Contents

$:.unshift(File.dirname __FILE__)
require 'helper'

class SadJob
	extend ::Sad::Worker
	
	def self.queue
		'MySadJob'
	end

	def self.perform(*args)
		raise RuntimeError, 'Error for test!!!!'
	end
end

EM.run {
	EM::PeriodicTimer.new(3){
		SadJob.enqueue('this is some args', {:hello => 'code'})	
	}
}

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
sad-1.5.14 test/test_perform_with_exception.rb
sad-1.5.13 test/test_perform_with_exception.rb
sad-1.5.12 test/test_perform_with_exception.rb
sad-1.5.11 test/test_perform_with_exception.rb
sad-1.5.10 test/test_perform_with_exception.rb
sad-1.5.9 test/test_perform_with_exception.rb
sad-1.5.8 test/test_perform_with_exception.rb
sad-1.5.7 test/test_perform_with_exception.rb
sad-1.5.6 test/test_perform_with_exception.rb
sad-1.5.5 test/test_perform_with_exception.rb
sad-1.5.4 test/test_perform_with_exception.rb
sad-1.5.3 test/test_perform_with_exception.rb
sad-1.5.2 test/test_perform_with_exception.rb
sad-1.5.1 test/test_perform_with_exception.rb
sad-1.5.0 test/test_perform_with_exception.rb
sad-1.4.0 test/test_perform_with_exception.rb