logo
首页技术栈工具库讨论
timecop

timecop

A gem providing "time travel" and "time freezing" capabilities, making it dead simple to test time-dependent code. It provides a unified method to mock Time.now, Date.today, and DateTime.now in a single call.
由 
bruceshi2021-01-13 收录
--
推荐
不推荐
更多信息
GitHub icontravisjeffery/timecop3056
RUBYGEMS
gem install timecop
查看
标签
根据用户添加的标签生成
暂无标签