test/job_test.rb in rocketjob-3.0.0.rc2 vs test/job_test.rb in rocketjob-3.0.0.rc3
- old
+ new
@@ -57,10 +57,10 @@
RocketJob::Job.requeue_dead_server(worker_name)
@job.reload
assert @job.queued?
- assert_equal nil, @job.worker_name
+ assert_nil @job.worker_name
assert_equal worker_name2, @job2.worker_name
@job2.reload
assert_equal worker_name2, @job2.worker_name
assert @job2.running?, @job2.state