test/jobs/test_job.rb in rocketjob-1.1.3 vs test/jobs/test_job.rb in rocketjob-1.2.0
- old
+ new
@@ -1,8 +1,12 @@
require 'rocketjob'
module Jobs
class TestJob < RocketJob::Job
+ rocket_job do |job|
+ job.priority = 51
+ end
+
@@result = nil
# For holding test results
def self.result
@@result
@@ -37,6 +41,6 @@
def after_event(hash)
hash['after_event'] = true
end
end
-end
\ No newline at end of file
+end