Add Job#healthy

This commit is contained in:
Dzmitry Plashchynski
2015-03-10 00:19:33 +02:00
parent 54a1b53af9
commit a24389f6cc
4 changed files with 20 additions and 3 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ describe Crono::Period do
time = 10.minutes.from_now
at = {hour: time.hour, min: time.min}
@period = Crono::Period.new(2.day, at: at)
expect(@period.next).to be_eql(Time.now.change(at))
expect(@period.next.utc.to_s).to be_eql(Time.now.change(at).utc.to_s)
end
end
end