test/plugins/job/persistence_test.rb in rocketjob-3.0.0.rc2 vs test/plugins/job/persistence_test.rb in rocketjob-3.0.0.rc3
- old
+ new
@@ -51,10 +51,10 @@
@job.save!
@job.worker_name = '123'
@job.reload
assert @job.data.is_a?(Hash), @job.data.class.ai
assert_equal 'value', @job.data['key']
- assert_equal nil, @job.worker_name
+ assert_nil @job.worker_name
end
end
describe '#save!' do
it 'save a blank job' do