spec/spec_base.rb in rufus-scheduler-2.0.19 vs spec/spec_base.rb in rufus-scheduler-2.0.20
- old
+ new
@@ -74,5 +74,14 @@
#else
sleep 0.500
#end
end
+def local(*args)
+ Time.local(*args)
+end
+alias lo local
+
+def utc(*args)
+ Time.utc(*args)
+end
+