test/plugins/job/model_test.rb in rocketjob-2.1.3 vs test/plugins/job/model_test.rb in rocketjob-3.0.0.alpha

- old
+ new

@@ -9,12 +9,10 @@ 10 end end class TwoArgumentJob < RocketJob::Job - rocket_job do |job| - job.priority = 53 - end + self.priority = 53 def perform(a, b) a + b end end