spec/cronline_spec.rb in rufus-scheduler-3.1.2 vs spec/cronline_spec.rb in rufus-scheduler-3.1.3
- old
+ new
@@ -64,9 +64,11 @@
to_a '7 10-12 * * * *', [ [7], [10, 11, 12], nil, nil, nil, nil, nil, nil ]
to_a '1-5 * * * * *', [ [1,2,3,4,5], nil, nil, nil, nil, nil, nil, nil ]
to_a '0 0 1 1 *', [ [0], [0], [0], [1], [1], nil, nil, nil ]
+ to_a '52 0 * * *', [ [0], [52], [0], nil, nil, nil, nil, nil ]
+
if ruby18?
to_a '0 23-24 * * *', [ [0], [0], [0, 23], nil, nil, nil, nil, nil ]
else
to_a '0 23-24 * * *', [ [0], [0], [23, 0], nil, nil, nil, nil, nil ]
end