test/dirmon_job_test.rb in rocketjob-3.0.0.rc2 vs test/dirmon_job_test.rb in rocketjob-3.0.0.rc3
- old
+ new
@@ -53,10 +53,10 @@
assert_equal new_size, File.size(file_name)
started = false
result = @entry.stub(:later, -> fn { started = true }) do
@dirmon_job.send(:check_file, @entry, file, previous_size)
end
- assert_equal nil, result
+ assert_nil result
assert started
end
it 'check deleted file' do
previous_size = 5