Categories: Testing [Edit]

timecop

https://rubygems.org/gems/timecop
https://github.com/travisjeffery/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.

Total

Ranking: 156 of 167,276
Downloads: 94,035,422

Daily

Ranking: 143 of 167,253
Downloads: 119,567

Depended by

RankDownloadsName
45264,881,017sprockets
77184,267,069ruby-progressbar
15395,811,767faker
18180,765,174knapsack
27453,571,558paperclip
27553,477,212factory_girl
30050,245,711vcr
31848,195,713carrierwave
32447,625,727active_model_serializers
49538,074,690akami
50237,496,075rack-attack
52535,474,847ruby-saml
54134,657,215fluent-plugin-s3
58631,332,647capybara-screenshot
69225,195,646facter
70924,071,726rotp
76421,501,808fluentd
78620,490,722ruby-kafka
79520,127,261icalendar
84218,113,625lru_redux

Depends on

RankDownloadsName

Owners

#GravatarHandle
1iconjtrupiano
2icontravisjeffery
3iconcuberick