test/time_0_test.rb in rufus-scheduler-1.0.9 vs test/time_0_test.rb in rufus-scheduler-1.0.10
- old
+ new
@@ -70,17 +70,18 @@
pts "500", 0.5
pts "1000", 1.0
pts "1h", 3600.0
pts "1h10s", 3610.0
pts "1w2d", 777600.0
+ pts "1d1w1d", 777600.0
end
protected
def pts (time_string, seconds)
assert_equal(
- seconds,
+ seconds,
Rufus::parse_time_string(time_string),
"'#{time_string}' did not map to #{seconds} seconds")
end
end