test/job_worker_test.rb in rocketjob-1.1.3 vs test/job_worker_test.rb in rocketjob-1.2.0
- old
+ new
@@ -27,11 +27,11 @@
assert @job.created_at
assert_nil @job.description
assert_equal false, @job.destroy_on_complete
assert_nil @job.expires_at
assert_equal 0, @job.percent_complete
- assert_equal 50, @job.priority
+ assert_equal 51, @job.priority
assert_equal 0, @job.failure_count
assert_nil @job.run_at
assert_nil @job.started_at
assert_equal :queued, @job.state
@@ -46,10 +46,10 @@
assert @job.created_at
assert_nil @job.description
assert_equal false, @job.destroy_on_complete
assert_nil @job.expires_at
assert_equal 100, @job.percent_complete
- assert_equal 50, @job.priority
+ assert_equal 51, @job.priority
assert_equal 0, @job.failure_count
assert_nil @job.run_at
assert @job.started_at
end
end